Skip to content

Commit 84c9a13

Browse files
committed
Update docker-compose.deploy.yml
1 parent 77d5842 commit 84c9a13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker-compose.deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ services:
7171
GUNICORN_CMD_ARGS: "--workers 5 --threads 5 --timeout 179"
7272
labels:
7373
- traefik.enable=true
74-
# - traefik.http.middlewares.workspaces-backend-emulation.replacepathregex.regex=^/api/v1/(.*)
75-
# - traefik.http.middlewares.workspaces-backend-emulation.replacepathregex.replacement=/api/v2/$$1/
7674
- traefik.http.routers.workspaces-backend.rule=Host(`${WS_API_HOST}`)
7775
- traefik.http.services.workspaces-backend.loadbalancer.server.port=5000
7876

7977
- traefik.http.middlewares.cors.headers.accesscontrolallowmethods=*
78+
- traefik.http.middlewares.cors.headers.accesscontrolallowheaders=*
8079
- traefik.http.middlewares.cors.headers.accesscontrolalloworiginlist=*
8180
- traefik.http.middlewares.cors.headers.accesscontrolmaxage=100
8281
- traefik.http.middlewares.cors.headers.addvaryheader=true

0 commit comments

Comments
 (0)