JG-mirror/Kubernetes/Traefik-PiHole/Manifest/PiHole/default-headers.yaml

16 lines
375 B
YAML

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