Browse Source

Merge pull request #438 from SeanPONeil/caddy-v2-well-known-docs

Update Caddy example in configuring-well-known to Caddy version 2
pull/440/head
Slavi Pantaleev 6 years ago
committed by GitHub
parent
commit
97a1c76ea2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      docs/configuring-well-known.md

+ 3
- 1
docs/configuring-well-known.md 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:


Loading…
Cancel
Save