|
|
@ -107,7 +107,9 @@ server {
|
|
|
|
**For Caddy**, it would be something like this:
|
|
|
|
**For Caddy**, it would be something like this:
|
|
|
|
|
|
|
|
|
|
|
|
```caddy
|
|
|
|
```caddy
|
|
|
|
proxy /.well-known/matrix https://matrix.DOMAIN
|
|
|
|
reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN {
|
|
|
|
|
|
|
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
|
|
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**For HAProxy**, it would be something like this:
|
|
|
|
**For HAProxy**, it would be something like this:
|
|
|
|