From 9e534abd8d967ae2bc76ca43e63db4f3e15f67cf Mon Sep 17 00:00:00 2001 From: Tealk Date: Fri, 18 Mar 2022 13:04:56 +0100 Subject: [PATCH] add caddy only from the caddy documentation, not sure if this is how it works --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index bcff015..1e3a4b6 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,17 @@ Self-hosting toot outside of Vercel requires some extra setup: } ``` + 3. Caddy + + ```nginxconf + root * path_to_toot/public; + try_files index.html + + handle_path /api/toot { + reverse_proxy localhost:8000 + } + ``` + ## See also **[📯 Shareon](https://shareon.js.org)**