diff --git a/changes/changelog.d/578.feature b/changes/changelog.d/578.feature index 9ab4fcf67000c05199d6c817cdab1fbd2fff2cd9..3fff0bd09a7b364d3b7069a3e18cacf89dfc32e1 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 1e2ab0014b74d54e2e7e55db1255aee3c66e6860..273084de9d3d9f6c5c3c402bbd96c7915f239e0c 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 f6bf610694946ccfa5193afe57acb723cc3452e2..b81ecc61af40e05736de7051fff3a575764a0f3d 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/ {