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

@ -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/ {