Update documentation and configs with examples of usage of SSL.

This commit is contained in:
Alexander Kukushkin
2015-09-09 12:19:50 +02:00
parent b5a5ea2a75
commit 1d9333dcdc
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -61,6 +61,9 @@ settings:
health-check information for haproxy. health-check information for haproxy.
- *connect\_address*: ip address + port through which restapi is - *connect\_address*: ip address + port through which restapi is
accessible. accessible.
- *certfile*: Specifies a file with the certificate in the PEM format.
If certfile is not specified or empty API server will work without SSL.
- *keyfile*: Specifies a file with the secret key in the PEM format.
- *etcd* - *etcd*
- *scope*: the relative path used on etcd's http api for this - *scope*: the relative path used on etcd's http api for this
+2
View File
@@ -4,6 +4,8 @@ scope: &scope batman
restapi: restapi:
listen: 127.0.0.1:8008 listen: 127.0.0.1:8008
connect_address: 127.0.0.1:8008 connect_address: 127.0.0.1:8008
# certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem
# keyfile: /etc/ssl/private/ssl-cert-snakeoil.key
etcd: etcd:
scope: *scope scope: *scope
ttl: *ttl ttl: *ttl
+2
View File
@@ -4,6 +4,8 @@ scope: &scope batman
restapi: restapi:
listen: 127.0.0.1:8009 listen: 127.0.0.1:8009
connect_address: 127.0.0.1:8009 connect_address: 127.0.0.1:8009
# certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem
# keyfile: /etc/ssl/private/ssl-cert-snakeoil.key
etcd: etcd:
scope: *scope scope: *scope
ttl: *ttl ttl: *ttl