From 5dac6cdc20f2f33e8d4d0d46f1e34b68375a3158 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Wed, 19 Dec 2018 15:35:23 +0100
Subject: [PATCH] Fixed typo in alias rule

---
 changes/changelog.d/578.feature | 4 ++--
 deploy/docker.nginx.template    | 2 +-
 deploy/nginx.template           | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/changes/changelog.d/578.feature b/changes/changelog.d/578.feature
index 9ab4fcf6..3fff0bd0 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 1e2ab001..273084de 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 f6bf6106..b81ecc61 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/ {
-- 
GitLab