mirror of
https://github.com/RealOrangeOne/infrastructure.git
synced 2026-01-23 02:14:14 +00:00
Add default secure headers for Traefik
This commit is contained in:
parent
d59e140924
commit
809af5c369
2 changed files with 9 additions and 0 deletions
|
|
@ -3,6 +3,14 @@ http:
|
|||
compress:
|
||||
compress: {}
|
||||
|
||||
secure-headers:
|
||||
headers:
|
||||
stsSeconds: 2592000
|
||||
contentTypeNosniff: true
|
||||
browserXssFilter: true
|
||||
customResponseHeaders:
|
||||
Server: ''
|
||||
|
||||
# https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
|
||||
floc-block:
|
||||
headers:
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ entryPoints:
|
|||
middlewares:
|
||||
- floc-block@file
|
||||
- compress@file
|
||||
- secure-headers@file
|
||||
tls:
|
||||
certResolver: le
|
||||
domains:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue