add caddy
only from the caddy documentation, not sure if this is how it works
This commit is contained in:
parent
e1b35b5d9a
commit
9e534abd8d
1 changed files with 11 additions and 0 deletions
11
README.md
11
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)**
|
||||
|
|
Reference in a new issue