mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Update header
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
8f8b37edf8
commit
8730a32195
@ -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
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user