Parcourir la 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 il y a 6 ans
committed by GitHub
Parent
révision
97a1c76ea2
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. +3
    -1
      docs/configuring-well-known.md

+ 3
- 1
docs/configuring-well-known.md Voir le fichier

@@ -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:


Chargement…
Annuler
Enregistrer