File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -73,14 +73,17 @@ services:
7373 - traefik.enable=true
7474 - traefik.http.middlewares.workspaces-backend-emulation.replacepathregex.regex=^/api/v1/(.*)
7575 - traefik.http.middlewares.workspaces-backend-emulation.replacepathregex.replacement=/api/v2/$$1/
76- - traefik.http.middlewares.workspaces-backend-emulation2.compress=true
77- - traefik.http.middlewares.workspaces-backend-emulation=workspaces-backend-emulation2,workspaces-backend-emulation
76+
77+ - traefik.http.middlewares.workspaces-backend-emulation.headers.accesscontrolallowmethods=GET,OPTIONS,PUT
78+ - traefik.http.middlewares.workspaces-backend-emulation.headers.accesscontrolallowheaders=*
79+ - traefik.http.middlewares.workspaces-backend-emulation.headers.accesscontrolalloworiginlist=*
80+
7881 - traefik.http.routers.workspaces-backend.rule=Host(`${WS_API_HOST}`)
7982 - traefik.http.services.workspaces-backend.loadbalancer.server.port=5000
83+
8084 - traefik.http.routers.workspaces-backend.middlewares=workspaces-backend-emulation
8185 - traefik.http.routers.workspaces-backend.entrypoints=websecure
8286 - traefik.http.routers.workspaces-backend.tls.certresolver=myresolver
83- - traefik.http.middlewares.workspaces-backend-emulation.headers.accesscontrolalloworiginlist=*
8487
8588 rapid :
8689 image : ${WS_DOCKER_REGISTRY}/workspaces-rapid:${WS_DOCKER_TAG}
You can’t perform that action at this time.
0 commit comments