doc minor fix
parent
5e493c15ac
commit
91686fc266
|
@ -10,15 +10,15 @@ Each htpasswd has few keys:
|
||||||
|
|
||||||
- `name`: (M) used to create file and as pointee
|
- `name`: (M) used to create file and as pointee
|
||||||
- `description`: (M) Used for the message box :)
|
- `description`: (M) Used for the message box :)
|
||||||
- `users`: each users is composed with 3 keys: `name` (M), `password` (M) and `state` present/absent (default: present)
|
- `users`: each users is composed with 3 keys: `name` (M), `password` (M) and `state` (O) present/absent (default: present)
|
||||||
- `state`: (O) present or absent. Default: present
|
- `state`: (O) present or absent. Default: present
|
||||||
|
|
||||||
`nginx_htpasswd` should be placed in a vaut file.
|
`nginx_htpasswd` should be placed in a vault file.
|
||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
nginx_vhosts:
|
nginx_vhosts:
|
||||||
# htpasswd on all vhost
|
# htpasswd on all vhost
|
||||||
- name: test.local
|
- name: test.local
|
||||||
|
|
|
@ -27,7 +27,6 @@ OR
|
||||||
- `dest_cert`: remote path where certificate is located
|
- `dest_cert`: remote path where certificate is located
|
||||||
- `dest_key`: remote path where key is located
|
- `dest_key`: remote path where key is located
|
||||||
|
|
||||||
|
|
||||||
Note: `name` is used to deploy key/cert. With defaults values dans `name` = "foo", key is -> /etc/nginx/ssl/foo/foo.key
|
Note: `name` is used to deploy key/cert. With defaults values dans `name` = "foo", key is -> /etc/nginx/ssl/foo/foo.key
|
||||||
|
|
||||||
Tips
|
Tips
|
||||||
|
@ -35,9 +34,6 @@ Tips
|
||||||
|
|
||||||
Deploying key/cert is not mandatory with this role. You can manage it in other place ([letsencrypt](https://letsencrypt.org/)? :)). You just need to set `dest_cert` and `dest_key`!
|
Deploying key/cert is not mandatory with this role. You can manage it in other place ([letsencrypt](https://letsencrypt.org/)? :)). You just need to set `dest_cert` and `dest_key`!
|
||||||
|
|
||||||
If you set all, you can deploy your key everywhere with wanted data!
|
|
||||||
|
|
||||||
|
|
||||||
Diffie-Hellman
|
Diffie-Hellman
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -46,7 +42,7 @@ If you do not specify any dh param, this role auto generates it.
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
nginx_vhosts;
|
nginx_vhosts;
|
||||||
- name: 'test-ssl.local'
|
- name: 'test-ssl.local'
|
||||||
proto: ['http', 'https']
|
proto: ['http', 'https']
|
||||||
|
|
|
@ -27,3 +27,15 @@ All this params are optional. You should see [Nginx upstream doc](http://nginx.o
|
||||||
- `route`
|
- `route`
|
||||||
- `slow_start`
|
- `slow_start`
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
nginx_upstreams:
|
||||||
|
- name: 'proxy_apache'
|
||||||
|
servers:
|
||||||
|
- path: '127.0.0.1:80'
|
||||||
|
max_conns: 150
|
||||||
|
weight: 10
|
||||||
|
down: false
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue