dashboard and cors fixes
This commit is contained in:
@@ -12,9 +12,17 @@ http:
|
|||||||
|
|
||||||
dcr-cors:
|
dcr-cors:
|
||||||
headers:
|
headers:
|
||||||
accessControlAllowOrigin: "http://registry.aetoskia.com"
|
accessControlAllowOriginList:
|
||||||
accessControlAllowMethods: "GET, POST, PUT, DELETE, OPTIONS"
|
- "http://registry.aetoskia.com"
|
||||||
accessControlAllowHeaders: "Authorization, Content-Type"
|
accessControlAllowMethods:
|
||||||
|
- GET
|
||||||
|
- POST
|
||||||
|
- PUT
|
||||||
|
- DELETE
|
||||||
|
- OPTIONS
|
||||||
|
accessControlAllowHeaders:
|
||||||
|
- Authorization
|
||||||
|
- Content-Type
|
||||||
accessControlMaxAge: 1728000
|
accessControlMaxAge: 1728000
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
@@ -23,7 +31,7 @@ http:
|
|||||||
rule: "Host(`traefik.aetoskia.com`)"
|
rule: "Host(`traefik.aetoskia.com`)"
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
service: traefik-svc
|
service: api@internal
|
||||||
tls:
|
tls:
|
||||||
certResolver: aetoskia
|
certResolver: aetoskia
|
||||||
middlewares:
|
middlewares:
|
||||||
|
|||||||
Reference in New Issue
Block a user