Spaces:
Running
Running
rogerxavier
commited on
Update nginx.conf
Browse files- nginx.conf +1 -1
nginx.conf
CHANGED
@@ -31,7 +31,7 @@ http {
|
|
31 |
}
|
32 |
|
33 |
location = /index.html {
|
34 |
-
root /
|
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 |
|