Skip to content

Commit 53c8d85

Browse files
author
ivan.kozhukhov
committed
add ratelimit middleware
1 parent aa2f49e commit 53c8d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ services:
4545
traefik.http.services.api.loadBalancer.server.port: ${PORT}
4646
traefik.http.middlewares.api-stripprefix.stripprefix.prefixes: /api
4747
traefik.http.middlewares.api-compress.compress: true
48-
traefik.http.routers.api.middlewares: api-stripprefix,api-compress
48+
traefik.http.routers.api.middlewares: api-stripprefix,api-compress,default-ratelimit
4949
healthcheck:
5050
test: wget --no-verbose --tries=1 --spider http://localhost:${PORT}/
5151
interval: 10s

0 commit comments

Comments
 (0)