浏览代码

Use absolute path for root directory

bubble
Chunyang Wang 7 年前
committed by GitHub
父节点
当前提交
7f0de6312e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      nginx.conf

+ 1
- 1
nginx.conf 查看文件

@@ -17,7 +17,7 @@ http {
server_name localhost;

location / {
root html;
root /usr/share/nginx/html;
index index.html index.htm;
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';


正在加载...
取消
保存