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
|
AllowOverride All
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteRule ^(.*)$ http://localhost:5280/$1 [P]
|
RewriteRule ^(.*)$ http://localhost:5280/http-bind/$1 [P,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
|
@ -151,7 +151,7 @@ class ejabberd {
|
||||||
$htdocs = "/usr/share/ejabberd/htdocs"
|
$htdocs = "/usr/share/ejabberd/htdocs"
|
||||||
|
|
||||||
define configwebhost() {
|
define configwebhost() {
|
||||||
file { "/srv/www/https/${name}/jabber":
|
file { "/srv/www/https/${name}/bosh":
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => $htdocs,
|
target => $htdocs,
|
||||||
require => File["/srv/www/https/${name}"],
|
require => File["/srv/www/https/${name}"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue