Initial commit: Infraestructura OgnirNAS estabilizada
This commit is contained in:
17
traefik/dynamic/middlewares.yml
Executable file
17
traefik/dynamic/middlewares.yml
Executable file
@@ -0,0 +1,17 @@
|
||||
# ==============================================================================
|
||||
# MIDDLEWARES DE SEGURIDAD (CONFIGURACIÓN DINÁMICA)
|
||||
# ==============================================================================
|
||||
|
||||
http:
|
||||
middlewares:
|
||||
seguridad-general:
|
||||
headers:
|
||||
# Cabeceras de seguridad recomendadas (HSTS, XSS, etc.)
|
||||
forceSTSHeader: true
|
||||
stsSeconds: 31536000
|
||||
stsIncludeSubdomains: true
|
||||
stsPreload: true
|
||||
contentTypeNosniff: true
|
||||
browserXssFilter: true
|
||||
frameDeny: true # Evita que tu sitio sea cargado en un iframe (protección clickjacking)
|
||||
referrerPolicy: "same-origin"
|
||||
Reference in New Issue
Block a user