mirror of
https://codeberg.org/angestoepselt/service-stack.git
synced 2025-05-24 14:46:17 +00:00
add common caddy conf
This commit is contained in:
parent
7bb473e2bd
commit
945b4c13e7
1 changed files with 19 additions and 0 deletions
19
common-caddy-conf.include
Normal file
19
common-caddy-conf.include
Normal 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"
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue