luisico.nginx

Nginx

Install and configure Nginx httpd server.

Ports 80, 443 or your custom ports need to be open. This role does not handle opening the ports.

Nginx can be configured by supplying global config file (nginx_main_conf_path) or content (ginx_main_conf_content) and/or local config files (nginx_default_conf_file_paths) or content (nginx_default_conf_file_contents).

Requirements

See meta/main.yml.

Role Variables

None.

Dependencies

This role depends on EPEL.

Example Playbook

Example:

- hosts: server
  roles:
    - nginx

TODO

  • Support different versions.
  • Support repo from nginx site.
  • Improve documentation.
  • Option to disable server on port 80.
  • Simplify ciphers.

Licence

Released under the MIT license.

Author Information

Luis Gracia while at The Rockefeller University:

Rebecca Bennett while at The Rockefeller University.

About

Install and configure Nginx httpd server

Install
ansible-galaxy install luisico.nginx
GitHub repository
License
mit
Downloads
109
Owner
Passionate DevOps Advocate