ansible-roles/nginx/README.md

27 lines
957 B
Markdown
Raw Normal View History

2016-09-30 10:59:00 +02:00
# nginx
Install Nginx.
## Tasks
Everything is in the `tasks/main.yml` file.
2017-07-14 15:42:36 +02:00
There are 2 modes : minimal and regular.
The minimal mode is for servers without real web apps, and only access to munin graphs…
The regular mode is for full fledged web services with optimized defaults.
2016-09-30 10:59:00 +02:00
## Available variables
Main variables are :
2017-07-14 15:42:36 +02:00
* `nginx_minimal` : very basic install and config (default: `False`) ;
2017-07-13 09:59:37 +02:00
* `nginx_jessie_backports` : on Debian Jessie, we can prefer v1.10 from backports (default: `False`) ;
2017-10-07 13:48:04 +02:00
* `nginx_ipaddr_whitelist_present` : list of IP addresses to have in the private whitelist ;
* `nginx_ipaddr_whitelist_absent` : list of IP addresses **not** to have in the whitelist ;
* `nginx_private_htpasswd_present` : list of users to have in the private htpasswd ;
* `nginx_private_htpasswd_absent` : list of users to **not** have in the private htpasswd.
2016-09-30 10:59:00 +02:00
The full list of variables (with default values) can be found in `defaults/main.yml`.