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.
See meta/main.yml
and assertions at the top of tasks/main.yml
.
See defaults/main.yml
.
See meta/main.yml
.
See tests/playbook.yml
.
Testing requires Python 2.7, Tox, Vagrant and Virtualbox. To test simply run
tox
. Pre-commit is also setup for this
project.
This software is licensed under the MIT license (see the LICENSE.txt
file).
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/.