A role to setup nginx
nginx_install_type: mainline
current options aremainline
to use the nginx.org deb source orubuntu
to use the default Ubuntu deb source. Switching between install types is not currently supported. Future versions may standarize on one source and possibly support building from source.nginx_enable_default_https: false
Set totrue
if you would like to create a default host for https requests. To use this you must pass in the appropriatenginx_private_key
andnginx_private_key
.nginx_enable_default_http: true
Set tofalse
fi you do not want create a default host for http requests.
- hosts: servers
roles:
- MatthewMi11er.nginx
MIT