1
0
mirror of https://github.com/dev-sec/ansible-nginx-hardening.git synced 2024-11-22 15:32:01 +01:00

add install instructions to readme

Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
This commit is contained in:
Sebastian Gumprich 2019-04-29 16:51:17 +02:00
parent 35d821809c
commit 15f3313cca

@ -15,6 +15,7 @@ It works with the following nginx-roles, including, but not limited to:
* [franklinkim.nginx](https://galaxy.ansible.com/franklinkim/nginx/)
**NOTE: This role does not work with nginx 1.0.15 or older! Please use the latest version from the official nginx repositories!**
## Requirements
* Ansible >= 2.5
@ -41,6 +42,14 @@ It works with the following nginx-roles, including, but not limited to:
| [nginx_ssl_prefer_server_ciphers][] | `on` | Specifies that server ciphers should be preferred over client ciphers when using the TLS protocols. Set to false to disable it. |
| [nginx_dh_size][] | `2048` | Specifies the length of DH parameters for EDH ciphers. |
## Installation
Install the role with ansible-galaxy:
```
ansible-galaxy install dev-sec.nginx-hardening
```
## Example Playbook
- hosts: localhost