add caddy

only from the caddy documentation, not sure if this is how it works
This commit is contained in:
Tealk 2022-03-18 13:04:56 +01:00
parent e1b35b5d9a
commit 9e534abd8d
No known key found for this signature in database
GPG Key ID: 5FE349ABC863E7F9
1 changed files with 11 additions and 0 deletions

View File

@ -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)**