mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 21:22:29 +03:00
chore: fix web nginx conf (#7246)
This commit is contained in:
parent
09201d42a0
commit
96df708e3a
12
.github/deployment/front/affine.nginx.conf
vendored
12
.github/deployment/front/affine.nginx.conf
vendored
@ -1,13 +1,13 @@
|
||||
server {
|
||||
listen 8080;
|
||||
root /app;
|
||||
|
||||
location /admin {
|
||||
try_files $uri $uri/ /admin/index.html;
|
||||
location / {
|
||||
root /app/dist;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /dist/index.html;
|
||||
location /admin {
|
||||
root /app/admin;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
|
Loading…
Reference in New Issue
Block a user