diff --git a/Kubernetes/Traefik-PiHole/Helm/Traefik/default-headers.yaml b/Kubernetes/Traefik-PiHole/Helm/Traefik/default-headers.yaml new file mode 100644 index 0000000..435e574 --- /dev/null +++ b/Kubernetes/Traefik-PiHole/Helm/Traefik/default-headers.yaml @@ -0,0 +1,16 @@ +apiVersion: traefik.containo.us/v1alpha1 +kind: Middleware +metadata: + name: default-headers + namespace: traefik +spec: + headers: + browserXssFilter: true + contentTypeNosniff: true + forceSTSHeader: true + stsIncludeSubdomains: true + stsPreload: true + stsSeconds: 15552000 + customFrameOptionsValue: SAMEORIGIN + customRequestHeaders: + X-Forwarded-Proto: https