add apache config

This commit is contained in:
Tealk 2022-03-17 14:09:30 +01:00
parent c030a17398
commit 99236c65fa
No known key found for this signature in database
GPG key ID: 5FE349ABC863E7F9

View file

@ -54,13 +54,15 @@ Self-hosting toot outside of Vercel requires some extra setup:
1. Apache 1. Apache
``` ```
placeholder DocumentRoot "path_to_toot/public"
ProxyPass "/api/toot" "http://localhost:8000/"
``` ```
2. Nginx 2. Nginx
``` ```
root /home/toot/public; root path_to_toot/public;
index.html; index.html;
location /api/toot { location /api/toot {