feat: 前台404页与通配路由; 积木拖拽排序(vuedraggable); nginx SPA说明

Made-with: Cursor
This commit is contained in:
whm
2026-03-19 17:11:16 +08:00
parent 88f9d42f91
commit e1fc257435
10 changed files with 196 additions and 27 deletions

View File

@@ -11,6 +11,7 @@ server {
location = / {
try_files /index.html =404;
}
# 前台为 Vue SPA任意路径须回退到 index.html否则直接访问 /xxx 会得到 nginx 404
location / {
try_files $uri $uri/ /index.html;
}