Changed ejabberd rewrite proxy from /jabber/ to /bosh/
This commit is contained in:
parent
fb167b59d1
commit
97ca8107c0
3 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
<Directory "/srv/www/https/*/jabber">
|
||||
<Directory "/srv/www/https/*/bosh">
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteRule ^(.*)$ http://localhost:5280/$1 [P]
|
||||
RewriteRule ^(.*)$ http://localhost:5280/http-bind/$1 [P,L]
|
||||
</IfModule>
|
||||
|
|
|
@ -151,7 +151,7 @@ class ejabberd {
|
|||
$htdocs = "/usr/share/ejabberd/htdocs"
|
||||
|
||||
define configwebhost() {
|
||||
file { "/srv/www/https/${name}/jabber":
|
||||
file { "/srv/www/https/${name}/bosh":
|
||||
ensure => link,
|
||||
target => $htdocs,
|
||||
require => File["/srv/www/https/${name}"],
|
||||
|
|
Loading…
Add table
Reference in a new issue