Merge pull request #1820 from brush/master

Suggested fix to docs for reverse proxy for well-known file
development
Slavi Pantaleev 3 years ago committed by GitHub
commit fb8af6c678
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
<VirtualHost *:443>
ServerName DOMAIN
SSLProxyEngine on
<Location /.well-known/matrix>
ProxyPass "https://matrix.DOMAIN/.well-known/matrix"
</Location>
ProxyPass /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon
ProxyPassReverse /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon
# other configuration
</VirtualHost>

Loading…
Cancel
Save