2016-01-12 18:14:36 +07:00
|
|
|
PHP
|
|
|
|
===
|
|
|
|
|
2016-08-11 16:30:26 +07:00
|
|
|
- `nginx_php56` and `nginx_php70`: boolean if you need to preconfigure PHP (default: false)
|
|
|
|
- `nginx_php##_sockets`: list of sockets (see bellow)
|
2016-01-12 18:14:36 +07:00
|
|
|
|
|
|
|
You should see [Nginx upstream module doc](http://nginx.org/en/docs/http/ngx_http_upstream_module.html).
|
|
|
|
|
|
|
|
Each socket have:
|
|
|
|
|
|
|
|
- `unix_socket`
|
|
|
|
- `host`
|
|
|
|
- `port`
|
|
|
|
- `weight`
|
|
|
|
- `max_fails`
|
|
|
|
- `fail_timeout`
|
|
|
|
|
2016-08-09 21:02:09 +07:00
|
|
|
With default configuration, it works fine with PHP-FPM.
|