mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
34 lines
1.6 KiB
Text
34 lines
1.6 KiB
Text
|
|
|
|
|
|
|
|
set_cookie_flag * HttpOnly SameSite=Lax;
|
|
|
|
|
|
|
|
|
|
more_set_headers "Content-Security-Policy: object-src 'none'; form-action 'self'; frame-ancestors 'self';";
|
|
|
|
|
|
|
|
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
|
|
|
|
|
|
|
|
more_set_headers "Permissions-Policy: accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), usb=(), web-share=(), xr-spatial-tracking=()";
|
|
|
|
|
|
|
|
more_set_headers "Feature-Policy: accelerometer 'none'; ambient-light-sensor 'none'; autoplay 'none'; battery 'none'; camera 'none'; display-capture 'none'; document-domain 'none'; encrypted-media 'none'; execution-while-not-rendered 'none'; execution-while-out-of-viewport 'none'; fullscreen 'none'; 'none'; geolocation 'none'; gyroscope 'none'; layout-animation 'none'; legacy-image-formats 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; navigation-override 'none'; payment 'none'; picture-in-picture 'none'; publickey-credentials-get 'none'; speaker-selection 'none'; sync-xhr 'none'; unoptimized-images 'none'; unsized-media 'none'; usb 'none'; screen-wake-lock 'none'; web-share 'none'; xr-spatial-tracking 'none';";
|
|
|
|
|
|
|
|
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
|
|
|
|
|
|
|
more_set_headers "X-Content-Type-Options: nosniff";
|
|
|
|
|
|
|
|
more_set_headers "X-XSS-Protection: 1; mode=block";
|