Fix syntax problems in example Apache configuration

Related to #121 (Github Issue)
This commit is contained in:
Slavi Pantaleev 2019-03-18 20:45:17 +02:00
parent 24cf27c60c
commit d18fe3610f
2 changed files with 4 additions and 4 deletions

View File

@ -4,12 +4,12 @@
<VirtualHost *:80>
ServerName riot.DOMAIN
ProxyVia On
# Map /.well-known/acme-challenge to the certbot server
# If you manage SSL certificates by yourself, this will differ.
<Location /.well-known/acme-challenge>
ProxyPreserveHost On
ProxyRequests Off
ProxyVia On
ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
</Location>

View File

@ -3,12 +3,12 @@
<VirtualHost *:80>
ServerName matrix.DOMAIN
ProxyVia On
# Map /.well-known/acme-challenge to the certbot server
# If you manage SSL certificates by yourself, this will differ.
<Location /.well-known/acme-challenge>
ProxyPreserveHost On
ProxyRequests Off
ProxyVia On
ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
</Location>