JG-mirror/Pihole/Kubernetes/default-headers.yaml

16 lines
374 B
YAML
Raw Normal View History

2024-07-08 10:19:54 +00:00
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