adarnimrod.nginx

Nginx #####

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

Install Nginx with common minimal configuration. Just package installation, create configuration directories and copy templates (if any). Configuration templates can be placed inside :code:templates/nginx/conf.d/ and server templates inside :code: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 :code:meta/main.yml and assertions at the top of :code:tasks/main.yml.

Role Variables

See :code:defaults/main.yml.

Dependencies

See :code:meta/main.yml.

Example Playbook

See :code:tests/playbook.yml.

Testing

Testing requires Python 2.7, Tox, Vagrant and Virtualbox. To test simply run :code:tox. Pre-commit <http://pre-commit.com/>_ is also setup for this project.

License

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

Author Information

Nimrod Adar, contact me <[email protected]>_ or visit my website <https://www.shore.co.il/>. Patches are welcome via git send-email <http://git-scm.com/book/en/v2/Git-Commands-Email>. The repository is located at: https://git.shore.co.il/explore/.

About

Install Nginx with common minimal configuration

Install
ansible-galaxy install adarnimrod.nginx
GitHub repository
License
mit
Downloads
371
Owner
https://shore.co.il/about