diff options
author | tzlil <tzlils@protonmail.com> | 2023-03-05 15:11:22 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-03-05 15:11:22 +0200 |
commit | 60b419fc85154d9027bd6a5861f8bb8b7d2ff880 (patch) | |
tree | 1dc6f0d007dece5b38570a544b0e093234056185 /hosts | |
parent | 37ae3fd19009e6cdc0efbe00a055b9a1173d21ea (diff) |
readd swaylock 30 sec, remove some headers from caddy
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vps/website.nix | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/hosts/vps/website.nix b/hosts/vps/website.nix index ff5d0d9..c1aad64 100644 --- a/hosts/vps/website.nix +++ b/hosts/vps/website.nix @@ -9,23 +9,28 @@ default = '' header { -Server + -Date + -Last-Modified + -Etag + -Accept-Ranges # disable indexing by search engines X-Robots-Tag "noindex, nofollow" - # disable FLoC tracking - Permissions-Policy interest-cohort=() + + # disable FLoC tracking + # 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 # keep referrer data off of HTTP connections - Referrer-Policy no-referrer-when-downgrade + # Referrer-Policy no-referrer-when-downgrade } ''; }; |