X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d472ee9713d21c5d718b320cc65cabe63aab0249..a7dc7d2358f720bc87db3a9a82738d04cddded89:/roles/prosody/templates/apache-site.conf diff --git a/roles/prosody/templates/apache-site.conf b/roles/prosody/templates/apache-site.conf new file mode 100644 index 0000000..e54d558 --- /dev/null +++ b/roles/prosody/templates/apache-site.conf @@ -0,0 +1,10 @@ +Use HTTP2HTTPS {{ prosody.host }} + + ServerName {{ prosody.host }} + Use SSL letsencrypt/live + + # Reverse proxy configuration + ProxyPass /.well-known/acme-challenge/ ! + ProxyPass / http://127.0.0.1:5280/ + ProxyPassReverse / http://127.0.0.1:5280/ +