diff --git a/script/docker/app/nginx/web/nginx.conf b/script/docker/app/nginx/web/nginx.conf index 19a89ae4..c7b15ac4 100644 --- a/script/docker/app/nginx/web/nginx.conf +++ b/script/docker/app/nginx/web/nginx.conf @@ -41,10 +41,9 @@ http { server_name web; root /usr/share/nginx/html; - location / { - #若系统无法访问则放开下面的注释 - #root html; - #index index.html; + location /{ + index index.html; + error_page 404 /index.html; } location ^~ /oauth/redirect {