Merge pull request #5 from morph027/reverse-proxies

add caddy server to reverse proxy examples
This commit is contained in:
Joachim Bauch 2020-05-20 08:39:39 +02:00 committed by GitHub
commit b856e65615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,6 +225,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