add caddy server to reverse proxy examples

This commit is contained in:
morph027 2020-05-19 18:25:36 +02:00
parent c48581b22b
commit 1cd85dc179
No known key found for this signature in database
GPG key ID: BF17A54BB873BE58

View file

@ -196,6 +196,34 @@ interface on port `8080` below):
</VirtualHost>
### Caddy
#### v1
[Caddy (v1)](https://caddyserver.com/v1/) configuration:
```
myserver.domain.invalid {
proxy /standalone-signaling/ http://127.0.0.1:8080 {
without /standalone-signaling
transparent
websocket
}
}
```
#### v2
[Caddy (v2)](https://caddyserver.com/) configuration:
```
myserver.domain.invalid {
route /standalone-signaling/* {
uri strip_prefix /standalone-signaling
reverse_proxy /standalone-signaling/* http://127.0.0.1:8080
}
}
```
## Setup of Nextcloud Talk