From 7342ddb0d89e95e862ad6c2a047bbb5f329ebf82 Mon Sep 17 00:00:00 2001 From: Alexander Polynomdivision Date: Tue, 2 Oct 2018 15:14:45 +0200 Subject: [PATCH] fix: redirect /app to /app/ --- server/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/nginx.conf b/server/nginx.conf index cc14bbf..26886e9 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -43,6 +43,11 @@ http { proxy_pass http://128.1.0.3:8080; } + # There probably is a better solution using wildcards + location /app { + return 301 https://$host/app/; + } + # The web app location /app/ { # CSS might not get the correct Content-Type header