From cfec426af7cd9ebd7d52eae3eb7dd3caf2260a4e Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Mon, 25 Apr 2016 15:01:54 +0300 Subject: [PATCH] ejabberd: Enable keep-alive for apache bosh proxy Add the Proxy directive to associate a worker to the bosh url, this enables keep-alive for the connections proxied via mod_rewrite. --- ejabberd/files/ejabberd-httpd.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ejabberd/files/ejabberd-httpd.conf b/ejabberd/files/ejabberd-httpd.conf index 7ac2a4c..2b38ae5 100644 --- a/ejabberd/files/ejabberd-httpd.conf +++ b/ejabberd/files/ejabberd-httpd.conf @@ -1,3 +1,8 @@ AllowOverride All + + + # 30 seconds is the default value for mod_http_bind max_inactivity + ProxySet ttl=30 +