fix: redirect /app to /app/
This commit is contained in:
parent
cb452a3c54
commit
7342ddb0d8
@ -43,6 +43,11 @@ http {
|
|||||||
proxy_pass http://128.1.0.3:8080;
|
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
|
# The web app
|
||||||
location /app/ {
|
location /app/ {
|
||||||
# CSS might not get the correct Content-Type header
|
# CSS might not get the correct Content-Type header
|
||||||
|
Reference in New Issue
Block a user