bitbot-3.11-fork/docs/help/rest_api.md
2019-09-13 16:06:14 +01:00

11 lines
349 B
Markdown

## Configure REST API
### Enable REST API
* `/msg <bot> config bot rest-api on`
* `/msg <bot> reloadmodule rest_api`
### Configure HTTPd
#### Nginx
* 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`