add common caddy conf

This commit is contained in:
Maximilian Gutwein 2024-10-21 20:51:48 +02:00
parent 7bb473e2bd
commit 945b4c13e7

19
common-caddy-conf.include Normal file
View file

@ -0,0 +1,19 @@
log {
format filter {
wrap json
fields {
request>headers delete
common_log delete
resp_headers delete
}
}
}
header {
Strict-Transport-Security max-age=31536000;
X-Content-Type-Options "nosniff"
X-Frame-Options SAMEORIGIN
Referrer-Policy "same-origin"
X-XSS-Protection "1; mode=block"
}