Fix syntax problems in example Apache configuration
Related to #121 (Github Issue)
This commit is contained in:
parent
24cf27c60c
commit
d18fe3610f
|
@ -4,12 +4,12 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName riot.DOMAIN
|
ServerName riot.DOMAIN
|
||||||
|
|
||||||
|
ProxyVia On
|
||||||
|
|
||||||
# Map /.well-known/acme-challenge to the certbot server
|
# Map /.well-known/acme-challenge to the certbot server
|
||||||
# If you manage SSL certificates by yourself, this will differ.
|
# If you manage SSL certificates by yourself, this will differ.
|
||||||
<Location /.well-known/acme-challenge>
|
<Location /.well-known/acme-challenge>
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
|
||||||
ProxyVia On
|
|
||||||
ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
|
ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName matrix.DOMAIN
|
ServerName matrix.DOMAIN
|
||||||
|
|
||||||
|
ProxyVia On
|
||||||
|
|
||||||
# Map /.well-known/acme-challenge to the certbot server
|
# Map /.well-known/acme-challenge to the certbot server
|
||||||
# If you manage SSL certificates by yourself, this will differ.
|
# If you manage SSL certificates by yourself, this will differ.
|
||||||
<Location /.well-known/acme-challenge>
|
<Location /.well-known/acme-challenge>
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
|
||||||
ProxyVia On
|
|
||||||
ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
|
ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue