rogerxavier commited on
Commit
4ad9de2
·
verified ·
1 Parent(s): e0f6cfc

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -1
nginx.conf CHANGED
@@ -31,7 +31,7 @@ http {
31
  }
32
 
33
  location = /index.html {
34
- root /usr/share/nginx/html; # 指定目录而不是文件
35
  default_type text/html; # 设置返回类型为 HTML
36
  }
37
 
 
31
  }
32
 
33
  location = /index.html {
34
+ root /etc/nginx/html; # 指定目录而不是文件
35
  default_type text/html; # 设置返回类型为 HTML
36
  }
37