From 99236c65facbb75eb816e997ab7fc82cbbaf36e3 Mon Sep 17 00:00:00 2001 From: Tealk Date: Thu, 17 Mar 2022 14:09:30 +0100 Subject: [PATCH] add apache config --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1d7588..610d051 100644 --- a/README.md +++ b/README.md @@ -54,13 +54,15 @@ Self-hosting toot outside of Vercel requires some extra setup: 1. Apache ``` - placeholder + DocumentRoot "path_to_toot/public" + + ProxyPass "/api/toot" "http://localhost:8000/" ``` 2. Nginx ``` - root /home/toot/public; + root path_to_toot/public; index.html; location /api/toot {