ansible-roles/nginx
2016-12-21 16:12:12 +01:00
..
defaults add an nginx role 2016-12-21 16:12:12 +01:00
files add an nginx role 2016-12-21 16:12:12 +01:00
handlers add an nginx role 2016-12-21 16:12:12 +01:00
tasks add an nginx role 2016-12-21 16:12:12 +01:00
templates add an nginx role 2016-12-21 16:12:12 +01:00
README.md add an nginx role 2016-12-21 16:12:12 +01:00

nginx

Install Nginx.

Tasks

Everything is in the tasks/main.yml file.

Available variables

Main variables are :

  • nginx_worker_processes : number of worker processes ;
  • nginx_default_redirect_url : URL to redirect to in case of error ;
  • nginx_ipaddr_whitelist_present : list of IP addresses to have in the whitelist.
  • nginx_ipaddr_whitelist_absent : list of IP addresses not to have in the whitelist.

The full list of variables (with default values) can be found in defaults/main.yml.