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

16 lines
No EOL
375 B
YAML

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