2016-01-12 18:14:36 +07:00
|
|
|
PHP
|
|
|
|
===
|
|
|
|
|
2017-10-26 15:59:24 +07:00
|
|
|
`nginx_php`:
|
2019-12-29 22:29:18 +07:00
|
|
|
- `upstream_name` (M)
|
2017-10-26 15:59:24 +07:00
|
|
|
- `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
|
|
|
|
|
2019-12-29 22:29:18 +07:00
|
|
|
- `host` (M)
|
|
|
|
- `port` (M)
|
|
|
|
- `weight` (O)
|
|
|
|
- `max_fails` (O)
|
|
|
|
- `fail_timeout` (O)
|