mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 02:18:31 +01:00
Merge pull request #1820 from brush/master
Suggested fix to docs for reverse proxy for well-known file
This commit is contained in:
commit
fb8af6c678
@ -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…
Reference in New Issue
Block a user