From 46351fe76c67265a0a6b6fc89a9ecb52e085fb66 Mon Sep 17 00:00:00 2001 From: Sirttas Date: Sun, 3 Sep 2023 21:44:45 +0200 Subject: [PATCH] Revert "remove nginx" This reverts commit de685af94a9878112d05ccb7f7d21de66261507f. --- nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..80fada7 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,8 @@ +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; + add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always; +} \ No newline at end of file