[Web] Remove XMPP site when disabling XMPP

This commit is contained in:
andryyy
2021-02-14 21:33:43 +01:00
parent 9c4cb21df6
commit 666d344322
2 changed files with 16 additions and 0 deletions

View File

@@ -116,6 +116,14 @@
proxy_redirect off;
}
location /xmpp/ {
proxy_pass http://ejabberd:5282/xmpp/;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
}
location ~* ^/Autodiscover/Autodiscover.xml {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass phpfpm:9002;