feat(security): añadir whitelist independiente y estructurar middlewares
- Incluye access-control.yml, auth.yml y security-headers.yml - Añadida whitelist.yml (configuración independiente)
This commit is contained in:
15
traefik/dynamic/security-headers.yml
Executable file
15
traefik/dynamic/security-headers.yml
Executable file
@@ -0,0 +1,15 @@
|
||||
# ################################################################# #
|
||||
# MIDDLEWARE: SECURITY-HEADERS #
|
||||
# ################################################################# #
|
||||
http:
|
||||
middlewares:
|
||||
security-headers:
|
||||
headers:
|
||||
forceSTSHeader: true
|
||||
stsSeconds: 31536000
|
||||
stsIncludeSubdomains: true
|
||||
stsPreload: true
|
||||
contentTypeNosniff: true
|
||||
browserXssFilter: true
|
||||
frameDeny: true
|
||||
referrerPolicy: "same-origin"
|
||||
Reference in New Issue
Block a user