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

16 lines
375 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: wg-easy
spec:
headers:
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 15552000
customFrameOptionsValue: SAMEORIGIN
customRequestHeaders:
X-Forwarded-Proto: https