From 1cd85dc1794af5f1ca7f2dea5dfc032aa1523246 Mon Sep 17 00:00:00 2001 From: morph027 Date: Tue, 19 May 2020 18:25:36 +0200 Subject: [PATCH] add caddy server to reverse proxy examples --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index a38fa6c..5b9dc3f 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,34 @@ interface on port `8080` below): +### 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