Fix: Changed syncthing access and auth scheme
This commit is contained in:
18
k8s/apps/syncthing/cors-middleware.yaml
Normal file
18
k8s/apps/syncthing/cors-middleware.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user