ソースを参照

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


読み込み中…
キャンセル
保存