ansible-nginx/doc/php.md

23 lines
379 B
Markdown
Raw Normal View History

2016-01-12 18:14:36 +07:00
PHP
===
`nginx_php`:
- `upstream_name` (M)
- `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:
- `unix`
XOR
- `host` (M)
- `port` (M)
- `weight` (O)
- `max_fails` (O)
- `fail_timeout` (O)