feat(nginx): Fixed going to / not working
This commit is contained in:
parent
c898fe8d32
commit
2ad9fe9859
2 changed files with 8 additions and 2 deletions
|
|
@ -3,6 +3,10 @@ location /app {
|
|||
try_files /index.html =404;
|
||||
}
|
||||
|
||||
location /assets {
|
||||
location /assets {
|
||||
root /volumes/static/app/;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$http_host/app;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue