--- a/contrib/provision/roles/prosody/tasks/main.yml Thu Jun 28 22:43:17 2018 +0800
+++ b/contrib/provision/roles/prosody/tasks/main.yml Thu Jun 28 22:44:14 2018 +0800
- mercurial # for extra modules
--- a/contrib/provision/roles/tram-im/templates/etc/nginx/sites-available/tram-im Thu Jun 28 22:43:17 2018 +0800
+++ b/contrib/provision/roles/tram-im/templates/etc/nginx/sites-available/tram-im Thu Jun 28 22:44:14 2018 +0800
- proxy_pass https://127.0.0.1:5281/http-bind;
+ proxy_pass http://127.0.0.1:5280/http-bind;
proxy_set_header Host $host;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
--- a/contrib/provision/roles/tram-im/templates/etc/prosody/conf.avail/tram-im.cfg.lua Thu Jun 28 22:43:17 2018 +0800
+++ b/contrib/provision/roles/tram-im/templates/etc/prosody/conf.avail/tram-im.cfg.lua Thu Jun 28 22:44:14 2018 +0800
plugin_paths = { "/var/lib/prosody/extra-modules" }
-https_interfaces = { "127.0.0.1" }
+http_interfaces = { "127.0.0.1" }
+consider_bosh_secure = true
VirtualHost "{{ domain }}"
admins = { "{{ admin_jid }}" }
- certificate = "{{ ssl_cert }}";