1
0
mirror of https://github.com/tommytran732/tommytran.io synced 2024-12-28 01:31:43 -05:00
tommytran.io/static/_headers
Tommy 237f6eafc0
Rearrange CSP policies
Signed-off-by: Tommy <contact@tommytran.io>
2024-06-23 12:53:19 -07:00

24 lines
1.5 KiB
Plaintext

/*
Strict-Transport-Security : max-age=63072000; includeSubDomains; preload
Content-Security-Policy : default-src 'none'; connect-src 'self'; img-src 'self'; script-src 'self'; style-src 'self'; base-uri 'none'; block-all-mixed-content; form-action 'none'; frame-ancestors 'none'; upgrade-insecure-requests
X-Content-Type-Options : nosniff
Referrer-Policy : no-referrer
X-Frame-Options : DENY
X-XSS-Protection : 0
Permissions-Policy : accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), usb=(), sync-xhr=(), xr-spatial-tracking=()
Cross-Origin-Resource-Policy : same-origin
Cross-Origin-Embedder-Policy : require-corp
# Cross-Origin-Opener-Policy : same-origin
/*.xml
Content-Security-Policy : default-src 'none'; img-src 'self' data: https://www.w3.org/; style-src 'self' 'unsafe-inline'; upgrade-insecure-requests; block-all-mixed-content; base-uri 'none'
/*.png
Cross-Origin-Resource-Policy : cross-origin
/*.jpg
Cross-Origin-Resource-Policy : cross-origin
/.well-known/openpgpkey/hu/*
Access-Control-Allow-Origin: *