55
edits
Note: Currently new registrations are closed, if you want an account Contact us
(→exim4) |
Ranjithsiji (talk | contribs) |
||
Line 112: | Line 112: | ||
sudo systemctl restart prosody | sudo systemctl restart prosody | ||
* We have enabled all XEPs conversations expect. We use sslh to multiplex Diaspora and Prosody on port 443. See [https://wiki.debian.org/InstallingProsody#XMPP_over_HTTPS XMPP over HTTPS] section of the Installing Prosody article in Debian Wiki for sample sslh configuration. | * We have enabled all XEPs conversations expect. We use sslh to multiplex Diaspora and Prosody on port 443. See [https://wiki.debian.org/InstallingProsody#XMPP_over_HTTPS XMPP over HTTPS] section of the Installing Prosody article in Debian Wiki for sample sslh configuration. | ||
==== Set Nginx Conf for BOSH URLS ==== | |||
* Add this configuration in nginx configuration file to enable the BOSH url to make JSXC Working. | |||
'''Nginx''' | |||
<syntaxhighlight lang="bash"> | |||
upstream chat_cluster { | |||
server localhost:5280; | |||
} | |||
location /http-bind { | |||
proxy_set_header X-Real-IP $remote_addr; | |||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |||
proxy_set_header Host $http_host; | |||
proxy_set_header X-Forwarded-Proto https; | |||
proxy_redirect off; | |||
proxy_connect_timeout 5; | |||
proxy_buffering off; | |||
proxy_read_timeout 70; | |||
keepalive_timeout 70; | |||
send_timeout 70; | |||
client_max_body_size 4M; | |||
client_body_buffer_size 128K; | |||
proxy_pass http://chat_cluster; | |||
} | |||
</syntaxhighlight> | |||
=== Chat/Matrix === | === Chat/Matrix === |