mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
feat(admin): init project (#7197)
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
server {
|
||||
listen 8080;
|
||||
root /app/dist;
|
||||
listen 8080;
|
||||
root /app;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
location /admin {
|
||||
try_files $uri $uri/ /admin/index.html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
internal;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ /dist/index.html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
internal;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user