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:
2026-01-05 22:33:13 +01:00
parent 7babf81811
commit 4ce8786056
4 changed files with 48 additions and 0 deletions

View 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"