Files
homelab/k8s/apps/syncthing/cors-middleware.yaml
AB from home.homenet 118a1c431a
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 11s
Check with kubeconform / lint (push) Successful in 11s
Fix: Changed syncthing access and auth scheme
2025-10-12 14:13:05 +03:00

18 lines
388 B
YAML

apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: cors-headers
namespace: syncthing
spec:
headers:
accessControlAllowMethods:
- "GET"
- "OPTIONS"
- "POST"
accessControlAllowHeaders:
- "*"
accessControlAllowOriginList:
- "https://ss.hexor.cy"
- "https://idm.hexor.cy"
accessControlMaxAge: 100
addVaryHeader: true