diff --git a/nginx.conf b/nginx.conf index ea63e75..80fada7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,4 +1,6 @@ server { + root /usr/share/nginx/html; + add_header 'Access-Control-Allow-Origin' 'https://api.eveal.shendai.rip,https://evepraisal.shendai.rip' always; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always; add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;