JG-mirror/Kubernetes/Traefik-External-Service/default-headers.yaml

16 lines
375 B
YAML
Raw Normal View History

apiVersion: traefik.io/v1alpha1
2023-12-03 23:32:13 +00:00
kind: Middleware
metadata:
name: default-headers
namespace: default
spec:
headers:
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 15552000
customFrameOptionsValue: SAMEORIGIN
customRequestHeaders:
X-Forwarded-Proto: https