Files
files/nginx.conf
valere 5b5c597644
All checks were successful
Deploy App / deploy (push) Successful in 14s
CORS 7 (final)
2025-12-17 21:35:39 +01:00

6 lines
382 B
Nginx Configuration File

# Enable CORS
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE' always;
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;