Skip to content

Commit c4fadd0

Browse files
committed
move the timeout to the services section
1 parent b44a303 commit c4fadd0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

compose/production/traefik/traefik.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,18 @@ http:
6262
loadBalancer:
6363
servers:
6464
- url: http://django:5000
65+
# Increase server timeout for long-running requests
66+
server:
67+
timeout: "300s"
6568

6669
flower:
70+
# Flower service
6771
loadBalancer:
6872
servers:
6973
- url: http://flower:5555
70-
71-
serversTransport:
72-
defaultTransport:
73-
requestTimeout: 90s
74+
# Increase server timeout for long-running requests
75+
server:
76+
timeout: "300s"
7477

7578
providers:
7679
# https://docs.traefik.io/master/providers/file/

0 commit comments

Comments
 (0)