diff --git a/nginx.conf b/nginx.conf index 9261c8d..fc3cd45 100644 --- a/nginx.conf +++ b/nginx.conf @@ -68,7 +68,7 @@ http { } location / { - root /usr/share/nginx/html; # docker映射路径 不允许更改 + root /usr/share/nginx/html/build/h5/; # docker映射路径 不允许更改 try_files $uri $uri/ /index.html; index index.html index.htm; proxy_set_header Host $http_host;