Skip to content

Commit

Permalink
add security headers
Browse files Browse the repository at this point in the history
  • Loading branch information
michivonah committed Sep 7, 2024
1 parent 00ec2ab commit 248a4b0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/
Content-Security-Policy: default-src 'self' michivonah.ch; script-src 'self' unpkg.com; style-src 'self' unpkg.com michivonah.ch fonts.googleapis.com; img-src 'self' michivonah.ch; font-src 'self' unpkg.com fonts.googleapis.com fonts.gstatic.com; upgrade-insecure-requests
Permissions-Policy: accelerometer=(), autoplay=(), display-capture=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()
Referrer-Policy: origin
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Access-Control-Allow-Origin: *

0 comments on commit 248a4b0

Please sign in to comment.