bitbot-3.11-fork/docs/help/rest_api.md

12 lines
349 B
Markdown
Raw Normal View History

## Configure REST API
### Enable REST API
* `/msg <bot> config bot rest-api on`
* `/msg <bot> reloadmodule rest_api`
### Configure HTTPd
#### Nginx
2019-09-13 15:06:14 +00:00
* Copy example config file from [/docs/rest_api/nginx](/docs/rest_api/nginx) to `/etc/nginx/sites-enabled`
* Edit `server-name`, `ssl_certificate` and `ssl_certificate_key`
* `service nginx restart`