rchouinard.nginx

NGINX Ansible Role

This role sets up the NGINX web server with a specific configuration from H5BP.

To customize the configuration, put your changes in /etc/nginx/conf.d/ and your server settings in /etc/nginx/server.d/.

Requirements

  • You need Ansible version 2.6 or higher.

Role Variables

nginx_user: nginx                   # User that NGINX will run as
nginx_group: ~                      # Group that NGINX will run as (default is not set)
nginx_worker_processes: auto        # Number of worker processes (automatically determined)
nginx_worker_rlimit_nofile: 8192    # Maximum number of open files
nginx_worker_connections: 8000      # Maximum number of connections per worker

Dependencies

This role does not require any other roles.

Example Playbook

- hosts: localhost
  roles:
    - rchouinard.nginx

License

This project is licensed under the MIT License (MIT). For more details, see the License File.

Informazioni sul progetto

NGINX for RedHat/Fedora Linux

Installa
ansible-galaxy install rchouinard.nginx
Licenza
mit
Download
72
Proprietario
DevOps Engineer at Paymentus