Update configuring-well-known.md

This commit is contained in:
brush 2022-05-13 03:44:16 -07:00 committed by teutat3s
parent 7557dab315
commit b60995a954
Signed by: teutat3s
GPG key ID: 18DAE600A6BBE705

View file

@ -98,16 +98,15 @@ server {
} }
``` ```
**For Apache**, it would be something like this: **For Apache2**, it would be something like this:
```apache ```apache
<VirtualHost *:443> <VirtualHost *:443>
ServerName DOMAIN ServerName DOMAIN
SSLProxyEngine on SSLProxyEngine on
<Location /.well-known/matrix> ProxyPass /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon
ProxyPass "https://matrix.DOMAIN/.well-known/matrix" ProxyPassReverse /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon
</Location>
# other configuration # other configuration
</VirtualHost> </VirtualHost>