1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Remove headers already present in core

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
Tagada 2024-03-06 14:34:39 +01:00 committed by GitHub
parent 2ec03a61df
commit 93f56f4341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,6 @@ set $api_domain "__DOMAIN__";
set $files_domain "__DOMAIN__"; set $files_domain "__DOMAIN__";
ssl_ecdh_curve secp384r1; ssl_ecdh_curve secp384r1;
more_set_headers "X-XSS-Protection: 1; mode=block";
more_set_headers "X-Content-Type-Options: nosniff";
more_set_headers "Access-Control-Allow-Origin: ${allowed_origins}"; more_set_headers "Access-Control-Allow-Origin: ${allowed_origins}";
more_set_headers "Access-Control-Allow-Credentials: true"; more_set_headers "Access-Control-Allow-Credentials: true";
# more_set_headers "X-Frame-Options: SAMEORIGIN"; # more_set_headers "X-Frame-Options: SAMEORIGIN";