nginx: Redirect / to /app/

This commit is contained in:
Alexander Polynomdivision 2018-10-12 17:36:17 +02:00
parent 30fda90a7b
commit b331dc12ce

View File

@ -61,7 +61,11 @@ http {
}
# There probably is a better solution using wildcards
location /app {
location = /app {
return 301 https://$host/app/;
}
location = / {
return 301 https://$host/app/;
}