Installs and configures nginx on a host.
- Linux
- none
- OSX
- Homebrew must be installed.
The default role variables in defaults/main.yml
are:
---
# defaults file for nginx
nginx_keepalive_timeout: "65"
nginx_keepalive_requests: "1000"
nginx_client_max_body_size: "64m"
nginx_client_body_timeout: "3m"
nginx_client_header_timeout: "3m"
nginx_server_names_hash_bucket_size: "64"
none
See the examples directory.
To run this playbook with default settings, create a basic playbook like this:
- hosts: servers
roles:
- nginx
To install a specific version:
- hosts: servers
roles:
- { role: dgnest.nginx }
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
Made with ❤️ ️☕️ and 🍕 by dgnest.