Update header

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2024-04-21 10:59:34 +02:00
parent 8f8b37edf8
commit 8730a32195
No known key found for this signature in database
GPG Key ID: 15D0B1525584D383

View File

@ -17,10 +17,17 @@ www.bensuperpc.org {
respond /uploads/*.php 404 respond /uploads/*.php 404
header / { header {
# disable FLoC tracking
Permissions-Policy interest-cohort=() Permissions-Policy interest-cohort=()
# enable HSTS
Strict-Transport-Security max-age=31536000; Strict-Transport-Security max-age=31536000;
# disable clients from sniffing the media type
X-Content-Type-Options nosniff X-Content-Type-Options nosniff
# clickjacking protection
X-Frame-Options DENY X-Frame-Options DENY
} }
@ -49,3 +56,7 @@ portainer.bensuperpc.org {
rickroll.bensuperpc.org { rickroll.bensuperpc.org {
redir https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent redir https://www.youtube.com/watch?v=dQw4w9WgXcQ permanent
} }
babyshark.bensuperpc.org {
redir https://www.youtube.com/watch?v=XqZsoesa55w permanent
}