ggiinnoo.nginx
NGINX
This guide is for installing NGINX easily on the specified operating systems (OS). You can easily customize it by changing a single variable to replace the entire nginx.conf configuration file.
CI Tests
Playbook Example
- hosts: webservers
vars_files:
- vars/main.yml
roles:
- role: ggiinnoo.nginx
tags: [nginx]
Variables
# Choose the NGINX version. Stable or mainline | Used during installation
nginxRedHatRelease: stable
nginxServicePort: 80
nginxServiceSecurePort: 443
# Enable or disable server signatures?
nginxServiceSignatures: true
# Size for server names hash bucket
nginxServerNameHashBucketSize: 256
nginxErrorLog: "/var/log/nginx/error.log"
nginxAccessLog: "/var/log/nginx/access.log"
nginxConfLocationDest: "/etc/nginx/nginx.conf"
nginxConfLocationSrc: "{{ role_path }}/templates/nginxRedHat.conf.j2"
Upcoming Features
- Manage
conf.d
directory
Installa
ansible-galaxy install ggiinnoo.nginx
Licenza
Unknown
Download
2.6k
Proprietario
Code doesn't scare me.. The server does.