Introduction
Introduction Statistics Contact Development Disclaimer Help
Adding security headers. - infra - Terraform IoC for my remote (Hetzner) and lo…
Log
Files
Refs
README
---
commit bd1339f5640159f72e7b87ebebacb123bd0f1de2
parent 03eeebe95897365257954d4c34e803caf5ea7524
Author: Jay Scott <[email protected]>
Date: Tue, 24 Dec 2024 15:12:45 +0000
Adding security headers.
Diffstat:
M remote/cloudinit/main.yml | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/remote/cloudinit/main.yml b/remote/cloudinit/main.yml
@@ -44,4 +44,13 @@ write_files:
root * /srv/www
encode gzip
file_server
+ header / {
+ -Server
+ X-Content-Type-Options nosniff
+ X-Frame-Options DENY
+ Referrer-Policy "no-referrer-when-downgrade"
+ Strict-Transport-Security "max-age=31536000; includeSubDomains; prel…
+ Permissions-Policy interest-cohort=()
+ Content-Security-Policy "default-src 'self'; style-src 'self' 'unsaf…
+ }
}
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.