From 7210f55d424b1e49d94bd0d35799f474bf7bea42 Mon Sep 17 00:00:00 2001 From: Sirttas Date: Wed, 26 Jul 2023 15:02:24 +0200 Subject: [PATCH] fix conf --- nginx.conf | 2 ++ 1 file changed, 2 insertions(+) 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;