Kubernetes.K3s.installLog/services/Matrix/middleware-Matrix.yml

19 lines
441 B
YAML
Raw Normal View History

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: matrix-cors-headers
spec:
headers:
accessControlAllowHeaders:
- "Authorization"
- "Content-Type"
accessControlAllowMethods:
- "GET"
- "OPTIONS"
- "PUT"
accessControlAllowOriginList:
- "https://chat.spamasaurus.com"
- "https://synapse.chat.spamasaurus.com"
accessControlMaxAge: 100
addVaryHeader: true