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:
parent
29c1162e61
commit
cfec426af7
1 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue