chore: fix web nginx conf (#7246)

This commit is contained in:
Brooooooklyn 2024-06-18 09:07:53 +00:00
parent 09201d42a0
commit 96df708e3a
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99

View File

@ -1,13 +1,13 @@
server { server {
listen 8080; listen 8080;
root /app; location / {
root /app/dist;
location /admin { try_files $uri $uri/ /index.html;
try_files $uri $uri/ /admin/index.html;
} }
location / { location /admin {
try_files $uri $uri/ /dist/index.html; root /app/admin;
try_files $uri $uri/ /index.html;
} }
error_page 404 /404.html; error_page 404 /404.html;