JG-mirror/Home-Assistant/Kubernetes/default-headers.yaml
2024-07-08 11:19:54 +01:00

16 lines
No EOL
381 B
YAML

apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: default-headers
namespace: homeassistant
spec:
headers:
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 15552000
customFrameOptionsValue: SAMEORIGIN
customRequestHeaders:
X-Forwarded-Proto: https