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.
This commit is contained in:
Ossi Salmi 2016-04-25 15:01:54 +03:00
parent 29c1162e61
commit cfec426af7

View file

@ -1,3 +1,8 @@
<Directory "/srv/www/https/*/bosh">
AllowOverride All
</Directory>
<Proxy "http://localhost:5280/http-bind/">
# 30 seconds is the default value for mod_http_bind max_inactivity
ProxySet ttl=30
</Proxy>