mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(reverse-proxy): ✨ open CORS
This commit is contained in:
parent
10564ee1b7
commit
260ad593ac
1 changed files with 6 additions and 0 deletions
|
|
@ -4,3 +4,9 @@ add_header X-Frame-Options "SAMEORIGIN" always;
|
|||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Permissions-Policy "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()" always;
|
||||
add_header Referrer-Policy "no-referrer-when-downgrade" always;
|
||||
|
||||
# https://enable-cors.org/server_nginx.html
|
||||
add_header Access-Control-Allow-Origin '*' 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;
|
||||
Loading…
Reference in a new issue