Minor changes on doc
parent
ccba868390
commit
53b9dc078e
|
@ -5,7 +5,13 @@ Nginx for Debian Ansible role
|
||||||
|
|
||||||
Install and configure Nginx on Debian.
|
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
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -15,7 +15,7 @@ Each htpasswd has few keys:
|
||||||
|
|
||||||
`nginx_htpasswd` should be placed in a vaut file.
|
`nginx_htpasswd` should be placed in a vaut file.
|
||||||
|
|
||||||
Exemple
|
Example
|
||||||
-------
|
-------
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -15,3 +15,4 @@ Each socket have:
|
||||||
- `max_fails`
|
- `max_fails`
|
||||||
- `fail_timeout`
|
- `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.
|
||||||
|
|
|
@ -20,7 +20,9 @@ Common
|
||||||
- `upstream_params`: (O) Add upstream params (useful when you want to pass variables to PHP)
|
- `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
|
- `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.
|
- `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
|
(O): Optional
|
||||||
(M): Mandatory
|
(M): Mandatory
|
||||||
|
|
Loading…
Reference in New Issue