Revert "remove nginx"

This reverts commit de685af94a.
This commit is contained in:
2023-09-03 21:44:45 +02:00
parent 3a08658970
commit 46351fe76c

8
nginx.conf Normal file
View File

@@ -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;
}