fix(nginx): Remove trailing slash from reverse proxy configuration
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2253>
This commit is contained in:
parent
8d818e5fac
commit
b55c2549bd
5 changed files with 13 additions and 12 deletions
|
|
@ -52,7 +52,7 @@ server {
|
|||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
# This is needed if you have file import via upload enabled.
|
||||
client_max_body_size ${NGINX_MAX_BODY_SIZE};
|
||||
proxy_pass http://funkwhale-api/;
|
||||
proxy_pass http://funkwhale-api;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
@ -71,7 +71,7 @@ server {
|
|||
|
||||
location /federation/ {
|
||||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
proxy_pass http://funkwhale-api/federation/;
|
||||
proxy_pass http://funkwhale-api;
|
||||
}
|
||||
|
||||
# You can comment this if you do not plan to use the Subsonic API.
|
||||
|
|
@ -82,7 +82,7 @@ server {
|
|||
|
||||
location /.well-known/ {
|
||||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
proxy_pass http://funkwhale-api/.well-known/;
|
||||
proxy_pass http://funkwhale-api;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue