Update configuring-well-known.md

development
brush 3 years ago committed by GitHub
parent eb7bed5221
commit 34de6c9c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save