1
0
mirror of https://github.com/ArcticFoxes-net/Nitter-Docker-Compose synced 2024-11-19 00:01:34 -05:00

Add X-Frame-Options (#2)

* Add X-Frame-Options

Signed-off-by: samsepi0l <contact@simpleprivacy.fr>
Signed-off-by: Tommy <contact@tommytran.io>
Co-authored-by: Tommy <contact@tommytran.io>
This commit is contained in:
samsepi0l 2023-04-12 13:22:54 +02:00 committed by GitHub
parent 87adeb2078
commit 01b9babab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@ add_header Referrer-Policy "same-origin" always;
add_header X-Content-Type-Options "nosniff" always; add_header X-Content-Type-Options "nosniff" always;
#add_header X-UA-Compatible "IE=Edge" always; #add_header X-UA-Compatible "IE=Edge" always;
add_header X-XSS-Protection "0" always; add_header X-XSS-Protection "0" always;
add_header X-Frame-Options "DENY" always;
add_header Cross-Origin-Resource-Policy same-origin; add_header Cross-Origin-Resource-Policy same-origin;
add_header Cross-Origin-Embedder-Policy require-corp; add_header Cross-Origin-Embedder-Policy require-corp;
add_header Cross-Origin-Opener-Policy same-origin; add_header Cross-Origin-Opener-Policy same-origin;