Skip to content

adarnimrod/nginx

Repository files navigation

Nginx

https://travis-ci.org/adarnimrod/nginx.svg?branch=master

Install Nginx with common minimal configuration. Just package installation, create configuration directories and copy templates (if any). Configuration templates can be placed inside templates/nginx/conf.d/ and server templates inside templates/nginx/sites-enabled/ either inside the role or relative to the playbook. OCSP, XSS and other such headers are not always possible and therefore out of the scope of this role and left up to the user.

Requirements

See meta/main.yml and assertions at the top of tasks/main.yml.

Role Variables

See defaults/main.yml.

Dependencies

See meta/main.yml.

Example Playbook

See tests/playbook.yml.

Testing

Testing requires Python 2.7, Tox, Vagrant and Virtualbox. To test simply run tox. Pre-commit is also setup for this project.

License

This software is licensed under the MIT license (see the LICENSE.txt file).

Author Information

Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore/.