Sfoglia il codice sorgente

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

pull/438/head
Sean O'Neil 6 anni fa
parent
commit
eb8e162ac2
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 41727E9DEE5EA218
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      docs/configuring-well-known.md

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


Caricamento…
Annulla
Salva