Add caddy 1 well-known example
Adjust params
This commit is contained in:
parent
0029b37b96
commit
966b74e74f
1 changed files with 9 additions and 1 deletions
|
@ -104,7 +104,7 @@ server {
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
|
|
||||||
**For Caddy**, it would be something like this:
|
**For Caddy 2**, it would be something like this:
|
||||||
|
|
||||||
```caddy
|
```caddy
|
||||||
reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN {
|
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:
|
**For HAProxy**, it would be something like this:
|
||||||
|
|
||||||
```haproxy
|
```haproxy
|
||||||
|
|
Loading…
Add table
Reference in a new issue