nginx: Redirect / to /app/

This commit is contained in:
Alexander Polynomdivision committed 2018-10-12 17:36:17 +02:00
1 parent 30fda90a7b
commit b331dc12ce
1 file changed
+5 -1
+5 -1
View File
@@ -61,7 +61,11 @@ http {
} }
# There probably is a better solution using wildcards # There probably is a better solution using wildcards
location /app { location = /app {
return 301 https://$host/app/;
}
location = / {
return 301 https://$host/app/; return 301 https://$host/app/;
} }