Rename default-headers.yaml to default-headers.yaml

This commit is contained in:
tehNooB
2023-10-20 12:16:42 +01:00
committed by GitHub
parent d187bd9237
commit 5cd661980b

View File

@@ -0,0 +1,16 @@
apiVersion: traefik.containo.us/v1alpha1
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