Minor changes on doc

pull/14/head
Emilien Mantel 2016-01-12 14:48:53 +01:00
parent ccba868390
commit 53b9dc078e
4 changed files with 47 additions and 38 deletions

View File

@ -5,7 +5,13 @@ Nginx for Debian Ansible role
Install and configure Nginx on Debian.
SSL management will come later.
Features:
- SSL/TLS "hardened" support
- Manage basic auth on vhost / location
- Proxy + Upstream
- Fast PHP configuration
- Preconfigured vhost templates (should work on many app)
Requirements
------------

View File

@ -15,7 +15,7 @@ Each htpasswd has few keys:
`nginx_htpasswd` should be placed in a vaut file.
Exemple
Example
-------
```

View File

@ -15,3 +15,4 @@ Each socket have:
- `max_fails`
- `fail_timeout`
With default configuration, it works fine with PHP-FPM. But if you install PHP7 with Dotdeb, path changed between version, you must set well this list.

View File

@ -20,7 +20,9 @@ Common
- `upstream_params`: (O) Add upstream params (useful when you want to pass variables to PHP)
- `override_try_files`: (O) overrides default try\_files defined in template
- `manage_local_content`: (O) Boolean. Set to false if you do not want to manage local content (images, css...). This option is useless if you use `_proxy` template or `redirect_to` feature.
- `htpasswd`: (0) References name key in `nginx_htpasswd`. Enable auth basic on all vhost.
- `htpasswd`: (O) References name key in `nginx_htpasswd`. Enable auth basic on all vhost.
- `proto`: (O) list of protocol used. Default is a list with "http". If you need http and https, you must set a list with "http" and "https". You can only set "https" without http support.
- `ssl_name`: (D) name of the key used when using TLS/SSL. Mandatory when `proto` contains "https"
(O): Optional
(M): Mandatory