1
0
mirror of https://github.com/NickKaramoff/toot synced 2025-02-12 01:30:52 +01:00

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

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