2016-01-12 18:14:36 +07:00
|
|
|
PHP
|
|
|
|
===
|
|
|
|
|
2017-10-26 15:59:24 +07:00
|
|
|
`nginx_php`:
|
|
|
|
- `version`: (M) PHP version
|
|
|
|
- `upstream_name` (O)
|
|
|
|
- `sockets`: (O) socket list
|
|
|
|
|
|
|
|
If `sockets` is not provided, if uses local unix socket (based on PHP version).
|
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:
|
|
|
|
|
2017-10-26 15:59:24 +07:00
|
|
|
- `unix`
|
|
|
|
|
|
|
|
XOR
|
|
|
|
|
2016-01-12 18:14:36 +07:00
|
|
|
- `host`
|
|
|
|
- `port`
|
|
|
|
- `weight`
|
|
|
|
- `max_fails`
|
|
|
|
- `fail_timeout`
|