@ -9,7 +9,7 @@
ProxyPreserveHost On
ProxyPreserveHost On
ProxyRequests Off
ProxyRequests Off
ProxyVia On
ProxyVia On
ProxyPass http://localhost :2402/.well-known/acme-challenge
ProxyPass http://127.0.0.1 :2402/.well-known/acme-challenge
</Location>
</Location>
Redirect permanent / https://matrix.DOMAIN/
Redirect permanent / https://matrix.DOMAIN/
@ -38,8 +38,8 @@
ProxyPassMatch ^/_matrix/client/r0/user_directory/search !
ProxyPassMatch ^/_matrix/client/r0/user_directory/search !
# Proxy all remaining traffic to Synapse
# Proxy all remaining traffic to Synapse
ProxyPass / http://localhost :8008/
ProxyPass / http://127.0.0.1 :8008/
ProxyPassReverse / http://localhost :8008/
ProxyPassReverse / http://127.0.0.1 :8008/
# Map /.well-known/matrix/client for client discovery
# Map /.well-known/matrix/client for client discovery
Alias /.well-known/matrix/client /matrix/static-files/.well-known/matrix/client
Alias /.well-known/matrix/client /matrix/static-files/.well-known/matrix/client
@ -60,12 +60,12 @@
# Map /_matrix/identity to the identity server
# Map /_matrix/identity to the identity server
<Location /_matrix/identity>
<Location /_matrix/identity>
ProxyPass http://localhost :8090/_matrix/identity
ProxyPass http://127.0.0.1 :8090/_matrix/identity
</Location>
</Location>
# Map /_matrix/client/r0/user_directory/search to the identity server
# Map /_matrix/client/r0/user_directory/search to the identity server
<Location /_matrix/client/r0/user_directory/search>
<Location /_matrix/client/r0/user_directory/search>
ProxyPass http://localhost :8090/_matrix/client/r0/user_directory/search
ProxyPass http://127.0.0.1 :8090/_matrix/client/r0/user_directory/search
</Location>
</Location>
ErrorLog ${APACHE_LOG_DIR}/matrix.DOMAIN-error.log
ErrorLog ${APACHE_LOG_DIR}/matrix.DOMAIN-error.log