diff --git a/examples/apache/matrix-riot-web.conf b/examples/apache/matrix-riot-web.conf index 6fadd5a80..1774fc4ad 100644 --- a/examples/apache/matrix-riot-web.conf +++ b/examples/apache/matrix-riot-web.conf @@ -4,12 +4,12 @@ ServerName riot.DOMAIN + ProxyVia On + # Map /.well-known/acme-challenge to the certbot server # If you manage SSL certificates by yourself, this will differ. ProxyPreserveHost On - ProxyRequests Off - ProxyVia On ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge diff --git a/examples/apache/matrix-synapse.conf b/examples/apache/matrix-synapse.conf index eae8dde43..fb6cb5bb7 100644 --- a/examples/apache/matrix-synapse.conf +++ b/examples/apache/matrix-synapse.conf @@ -3,12 +3,12 @@ ServerName matrix.DOMAIN + ProxyVia On + # Map /.well-known/acme-challenge to the certbot server # If you manage SSL certificates by yourself, this will differ. ProxyPreserveHost On - ProxyRequests Off - ProxyVia On ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge