Skip to content
README.rst 1.43 KiB
Newer Older
nimrod's avatar
nimrod committed
Nginx
#####
.. image:: https://travis-ci.org/adarnimrod/nginx.svg?branch=master
    :target: https://travis-ci.org/adarnimrod/nginx
nimrod's avatar
nimrod committed
Install Nginx with common minimal configuration. Just package installation,
nimrod's avatar
nimrod committed
create configuration directories and copy templates (if any). Configuration
nimrod's avatar
nimrod committed
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.
See :code:`meta/main.yml` and assertions at the top of :code:`tasks/main.yml`.
nimrod's avatar
nimrod committed
See :code:`defaults/main.yml`.
nimrod's avatar
nimrod committed
See :code:`meta/main.yml`.
nimrod's avatar
nimrod committed
See :code:`tests/playbook.yml`.
nimrod's avatar
nimrod committed
Testing
-------

nimrod's avatar
nimrod committed
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.
nimrod's avatar
nimrod committed
This software is licensed under the MIT license (see the :code:`LICENSE.txt`
file).

Author Information
------------------

Nimrod Adar, `contact me <nimrod@shore.co.il>`_ 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
nimrod's avatar
nimrod committed
at: https://git.shore.co.il/explore/.