diff --git a/changes/changelog.d/578.feature b/changes/changelog.d/578.feature index 9ab4fcf67..3fff0bd09 100644 --- a/changes/changelog.d/578.feature +++ b/changes/changelog.d/578.feature @@ -23,7 +23,7 @@ the ``location /api/`` and `location /` blocks by the following snippets:: } location /front/ { - alias /frontend; + alias /frontend/; } The change of configuration will be picked when restarting your nginx container. @@ -40,7 +40,7 @@ and replace the ``location /api/`` and `location /` blocks by the following snip } location /front/ { - alias ${FUNKWHALE_FRONTEND_PATH}; + alias ${FUNKWHALE_FRONTEND_PATH}/; } Replace ``${FUNKWHALE_FRONTEND_PATH}`` by the corresponding variable from your .env file, diff --git a/deploy/docker.nginx.template b/deploy/docker.nginx.template index 1e2ab0014..273084de9 100644 --- a/deploy/docker.nginx.template +++ b/deploy/docker.nginx.template @@ -31,7 +31,7 @@ server { } location /front/ { - alias /frontend; + alias /frontend/; } location /federation/ { diff --git a/deploy/nginx.template b/deploy/nginx.template index f6bf61069..b81ecc61a 100644 --- a/deploy/nginx.template +++ b/deploy/nginx.template @@ -51,7 +51,7 @@ server { } location /front/ { - alias ${FUNKWHALE_FRONTEND_PATH}; + alias ${FUNKWHALE_FRONTEND_PATH}/; } location /federation/ {