mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Merge pull request #438 from SeanPONeil/caddy-v2-well-known-docs
Update Caddy example in configuring-well-known to Caddy version 2
This commit is contained in:
commit
97a1c76ea2
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user