Przeglądaj źródła

Fix syntax problems in example Apache configuration

Related to #121 (Github Issue)
pull/126/head
Slavi Pantaleev 7 lat temu
rodzic
commit
d18fe3610f
2 zmienionych plików z 4 dodań i 4 usunięć
  1. +2
    -2
      examples/apache/matrix-riot-web.conf
  2. +2
    -2
      examples/apache/matrix-synapse.conf

+ 2
- 2
examples/apache/matrix-riot-web.conf Wyświetl plik

@@ -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>




+ 2
- 2
examples/apache/matrix-synapse.conf Wyświetl plik

@@ -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>




Ładowanie…
Anuluj
Zapisz