mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-11 09:25:00 +00:00
Update README.md
This commit is contained in:
parent
01aa241d7d
commit
48f80c0e6c
|
@ -62,7 +62,8 @@ sudo update-ca-certificates
|
|||
## (Optional) For Mastodon users
|
||||
1. In `[caterpillar installed directory]/settings.ini` or `.env`, set `SERVER_URL` variable to `localhost` in `.env` (e.g. `SERVER_URL=localhost`)
|
||||
2. In `[mastodon installed directory]/env.production`, set `http_proxy` variable to `http://localhost:5555` (e.g. `http_proxy=http://localhost:5555`)
|
||||
3. if you want use notification, set `MASTODON_SERVER`(server domain) and `MASTODON_USER_TOKEN`(access token) variables
|
||||
3. In nginx configuration (e.g. `/etc/nginx/conf.d/mastodon.conf`), edit the `proxy_pass` like a `proxy_pass http://localhost:5555`
|
||||
4. if you want use notification, set `MASTODON_SERVER`(server domain) and `MASTODON_USER_TOKEN`(access token) variables
|
||||
|
||||
## References
|
||||
* https://github.com/anapeksha/python-proxy-server
|
||||
|
|
Loading…
Reference in New Issue
Block a user