add prosody config
[ansible.git] / roles / prosody / templates / apache-site.conf
1 Use HTTP2HTTPS {{ prosody.host }}
2 <VirtualHost *:443>
3     ServerName {{ prosody.host }}
4     Use SSL letsencrypt/live
5
6     # Reverse proxy configuration
7     ProxyPass /.well-known/acme-challenge/ !
8     ProxyPass / http://127.0.0.1:5280/
9     ProxyPassReverse / http://127.0.0.1:5280/
10 </VirtualHost>