Merge pull request #131 from ONLYOFFICE/bugfix/nginx-headers

Fix headers COOP X-XSS
This commit is contained in:
Evgeniy Antonyuk 2024-02-07 15:24:13 +07:00 committed by GitHub
commit 0241b47b68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,9 +66,7 @@ server {
add_header X-Frame-Options $header_x_frame_options;
add_header Cache-Control $cache_control;
add_header Permissions-Policy "autoplay=(), geolocation=(), camera=(), microphone=(), interest-cohort=()";
add_header X-XSS-Protection "1; mode=block";
add_header Cross-Origin-Opener-Policy "same-origin";
root $public_root;
etag on;