docs(examples): increase httpd ProxyTimeout value

With a value that is too small, the HTTP long-polling request receives
an HTTP 502 response code and the connection gets closed.
This commit is contained in:
Damien Arrachequesne
2023-06-20 23:57:46 +02:00
parent 63f181cc12
commit 3035c25982

View File

@@ -51,4 +51,4 @@ RewriteRule /(.*) balancer://nodes_ws/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) balancer://nodes_polling/$1 [P,L]
ProxyTimeout 3
ProxyTimeout 60 # must be bigger than pingInterval (25s by default) + pingTimeout (20s by default)