Skip to content

Commit c34e0b1

Browse files
committed
build: front back - remove rate limiting middleware from Traefik config
1 parent 324cd5e commit c34e0b1

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

docker-compose.prod.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ services:
121121
- "traefik.http.routers.rest-api.entrypoints=websecure"
122122
- "traefik.http.routers.rest-api.tls.certresolver=letsencrypt"
123123
- "traefik.http.routers.rest-api.service=rest-api"
124-
# Middleware: rate limiting + retry
125-
- "traefik.http.routers.rest-api.middlewares=rate-limit-api@file,retry@file"
126124
- "traefik.http.services.rest-api.loadbalancer.server.port=4000"
127125
# Health check - only route to healthy containers
128126
- "traefik.http.services.rest-api.loadbalancer.healthcheck.path=/health"
@@ -323,8 +321,6 @@ services:
323321
- "traefik.http.routers.webapp.entrypoints=websecure"
324322
- "traefik.http.routers.webapp.tls.certresolver=letsencrypt"
325323
- "traefik.http.routers.webapp.service=webapp"
326-
# Middleware: rate limiting
327-
- "traefik.http.routers.webapp.middlewares=rate-limit-global@file"
328324
- "traefik.http.services.webapp.loadbalancer.server.port=3000"
329325
# Health check - Traefik only routes to healthy containers
330326
- "traefik.http.services.webapp.loadbalancer.healthcheck.path=/api/health"

scripts/traefik/dynamic/middlewares.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ http:
1515
frameDeny: true
1616
contentTypeNosniff: true
1717
browserXssFilter: true
18-
referrerPolicy: "strict-origin-when-cross-origin"
18+
referrerPolicy: 'strict-origin-when-cross-origin'
1919
customResponseHeaders:
20-
X-Powered-By: ""
21-
Server: ""
20+
X-Powered-By: ''
21+
Server: ''
2222

2323
# -------------------------------------------------------------------------
2424
# Compression

0 commit comments

Comments
 (0)