From 7589262fbe22ab412a5f46f704df393bdc4fc175 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 13 Sep 2019 16:02:56 +0100 Subject: add rest_api.md and git_webhook.md help documents --- docs/help/rest_api.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/help/rest_api.md (limited to 'docs/help/rest_api.md') diff --git a/docs/help/rest_api.md b/docs/help/rest_api.md new file mode 100644 index 00000000..8aaff68d --- /dev/null +++ b/docs/help/rest_api.md @@ -0,0 +1,11 @@ +## Configure REST API + +### Enable REST API +* `/msg config bot rest-api on` +* `/msg 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` -- cgit v1.3.1-10-gc9f91