Browse Source

Use absolute path for root directory

bubble
Chunyang Wang 7 years ago
committed by GitHub
parent
commit
7f0de6312e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx.conf

+ 1
- 1
nginx.conf View File

@@ -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…
Cancel
Save