Skip to content

Commit 62a0f8a

Browse files
committed
Enable gzip compression for workspaces API responses
1 parent a10459a commit 62a0f8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ 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
7678
- traefik.http.routers.workspaces-backend.rule=Host(`${WS_API_HOST}`)
7779
- traefik.http.services.workspaces-backend.loadbalancer.server.port=5000
7880
- traefik.http.routers.workspaces-backend.middlewares=workspaces-backend-emulation

0 commit comments

Comments
 (0)