Update Caddy example in configuring-well-known to Caddy version 2

This commit is contained in:
Sean O'Neil 2020-04-05 11:36:08 -07:00
parent 929f220c58
commit eb8e162ac2
No known key found for this signature in database
GPG Key ID: 41727E9DEE5EA218

View File

@ -107,7 +107,9 @@ server {
**For Caddy**, it would be something like this:
```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: