瀏覽代碼

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' '*';


Loading…
取消
儲存