aboutsummaryrefslogtreecommitdiff
path: root/docs/help/rest_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/help/rest_api.md')
-rw-r--r--docs/help/rest_api.md11
1 files changed, 11 insertions, 0 deletions
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 <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`