18 lines
388 B
YAML
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
|