File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
compose/production/traefik Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ entryPoints:
14
14
web-secure :
15
15
# https
16
16
address : " :443"
17
+ transport :
18
+ respondingTimeouts :
19
+ readTimeout : " 180s"
20
+ writeTimeout : " 180s"
21
+ idleTimeout : " 180s"
17
22
18
23
flower :
19
24
address : " :5555"
36
41
- web-secure
37
42
middlewares :
38
43
- csrf
44
+ - long-timeout
39
45
service : django
40
46
tls :
41
47
# https://docs.traefik.io/master/routing/routers/#certresolver
@@ -56,12 +62,19 @@ http:
56
62
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
57
63
headers :
58
64
hostsProxyHeaders : ["X-CSRFToken"]
65
+ long-timeout :
66
+ forwardingTimeouts :
67
+ dialTimeout : " 180s"
68
+ responseHeaderTimeout : " 180s"
69
+ idleConnTimeout : " 180s"
59
70
60
71
services :
61
72
django :
62
73
loadBalancer :
63
74
servers :
64
75
- url : http://django:5000
76
+ responseForwarding :
77
+ flushInterval : " 100ms"
65
78
66
79
flower :
67
80
loadBalancer :
You can’t perform that action at this time.
0 commit comments