Add X-Frame-Options

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-04-12 07:35:13 -04:00 committed by GitHub
parent ae61091364
commit 3d036d96e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@ add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autopl
add_header Referrer-Policy "same-origin" always; 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-Frame-Options "DENY" always;
add_header X-XSS-Protection "0" always; add_header X-XSS-Protection "0" always;
add_header Cross-Origin-Resource-Policy cross-origin; add_header Cross-Origin-Resource-Policy cross-origin;
add_header Cross-Origin-Opener-Policy same-origin; add_header Cross-Origin-Opener-Policy same-origin;