nginx: Redirect / to /app/
This commit is contained in:
parent
30fda90a7b
commit
b331dc12ce
@ -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/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user