mirror of
https://github.com/ArcticFoxes-net/Nitter-Docker-Compose
synced 2024-12-30 12:51:34 -05:00
Add frame-ancestors 'none'
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
3822c13753
commit
266edff5b0
@ -29,7 +29,7 @@ ssl_stapling_verify on;
|
||||
ssl_trusted_certificate /config/keys/cert.crt;
|
||||
|
||||
# Optional additional headers
|
||||
add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; font-src 'self'; img-src 'self'; manifest-src 'self'; media-src blob:; script-src 'self' 'unsafe-inline' blob:; style-src 'self' 'unsafe-inline'; block-all-mixed-content; base-uri 'none'";
|
||||
add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; font-src 'self'; img-src 'self'; manifest-src 'self'; media-src blob:; script-src 'self' 'unsafe-inline' blob:; style-src 'self' 'unsafe-inline'; frame-ancestors 'none' block-all-mixed-content; base-uri 'none'";
|
||||
add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), clipboard-read=(), clipboard-write=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always;
|
||||
add_header Referrer-Policy "same-origin" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
@ -38,4 +38,4 @@ add_header X-XSS-Protection "0" always;
|
||||
add_header Cross-Origin-Resource-Policy same-origin;
|
||||
add_header Cross-Origin-Embedder-Policy require-corp;
|
||||
add_header Cross-Origin-Opener-Policy same-origin;
|
||||
add_header Expect-CT "enforce, max-age=63072000";
|
||||
add_header Expect-CT "enforce, max-age=63072000";
|
||||
|
Loading…
Reference in New Issue
Block a user