diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 6bc94d3..e73043b 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -41,7 +41,7 @@ server { location /admin { alias /usr/share/nginx/html/admin; index index.html; - try_files $uri $uri/ /index.html; + try_files $uri $uri/ /admin/index.html; # 缓存静态资源 location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {