add per-httpd rest_api info
This commit is contained in:
parent
407dcacedf
commit
b8404b9033
1 changed files with 14 additions and 1 deletions
|
@ -5,7 +5,20 @@
|
|||
* `/msg <bot> reloadmodule rest_api`
|
||||
|
||||
### Configure HTTPd
|
||||
Either set up a reverse proxy (with persisted Host header) with your favourite HTTPd or follow the instructions below.
|
||||
|
||||
#### 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`
|
||||
* `$ service nginx restart`
|
||||
|
||||
#### Apache2
|
||||
* Run `$ a2enmod ssl proxy proxy_http` as root
|
||||
* Copy example config file from [/docs/rest_api/apache2](/docs/rest_api/apache2) to `/etc/apache2/sites-enabled/`
|
||||
* Edit `ServerName`, `SSLCertificateFile and `SSLCertificateKeyFile`
|
||||
* `$ service apache2 restart`
|
||||
|
||||
#### Lighttpd
|
||||
* Copy example config file from [/docs/rest_api/lighttpd](/docs/rest_api/lighttpd) to `/etc/lighttpd/lighttpd.conf`
|
||||
* Edit `ssl.ca-file`, `ssl.pemfile` and `ssl.privkey`
|
||||
* `$ service lighttpd restat`
|
||||
|
|
Loading…
Reference in a new issue