Switch to nginx-proxy

This commit is contained in:
2025-07-20 22:21:37 +01:00
parent 650bb88bc0
commit a1e0fb1ebb
10 changed files with 349 additions and 160 deletions

View File

@@ -0,0 +1,6 @@
if ($http_origin ~* (https?://(?:www\.)?5e\.tools|https?://(?:www\.)?rec\.scarif\.space)) {
add_header 'Access-Control-Allow-Origin' "$http_origin";
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
}