mirror of
https://github.com/dev-sec/ansible-nginx-hardening.git
synced 2024-11-22 19:42:02 +01:00
add install instructions to readme
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
This commit is contained in:
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/)
|
* [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!**
|
**NOTE: This role does not work with nginx 1.0.15 or older! Please use the latest version from the official nginx repositories!**
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* Ansible >= 2.5
|
* 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_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. |
|
| [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
|
## Example Playbook
|
||||||
|
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
|
Loading…
Reference in New Issue
Block a user