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