Skip to content

Commit

Permalink
Additional headers for internet.nl
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSeccubus committed Apr 2, 2024
1 parent 0fab76a commit a60857a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/.htaccess
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
RewriteEngine On
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains;"
Header always append X-Frame-Options DENY
Header set X-Content-Type-Options nosniff
Header set X-XSS-Protection "1; mode=block"
Header set Referrer-Policy same-origin

# Redirect http -> https
RewriteCond %{HTTP:X-HTTPS-SESSION} !^yes$
Expand Down

0 comments on commit a60857a

Please sign in to comment.