Ver a proveniência

Add caddy 1 well-known example

Adjust params
pull/480/head
André Sterba há 6 anos
ascendente
cometimento
966b74e74f
1 ficheiros alterados com 9 adições e 1 eliminações
  1. +9
    -1
      docs/configuring-well-known.md

+ 9
- 1
docs/configuring-well-known.md Ver ficheiro

@@ -104,7 +104,7 @@ server {
</VirtualHost>
```

**For Caddy**, it would be something like this:
**For Caddy 2**, it would be something like this:

```caddy
reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN {
@@ -112,6 +112,14 @@ reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN {
}
```

**For Caddy 1**, it would be something like this:

```caddy
proxy /.well-known/matrix/ https://matrix.DOMAIN {
header_upstream Host {http.reverse_proxy.upstream.hostport}
}
```

**For HAProxy**, it would be something like this:

```haproxy


Carregando…
Cancelar
Guardar