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:
Georg Krause 2022-12-06 15:29:09 +01:00 committed by Georg Krause
commit b55c2549bd
5 changed files with 13 additions and 12 deletions

View file

@ -65,6 +65,6 @@ server {
location / {
include /etc/nginx/funkwhale_proxy.conf;
client_max_body_size ${NGINX_MAX_BODY_SIZE};
proxy_pass http://fw/;
proxy_pass http://fw;
}
}

View file

@ -87,7 +87,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 / {
@ -106,7 +106,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.
@ -117,7 +117,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/ {