ansible-nginx/doc/php.md

24 lines
390 B
Markdown
Raw Normal View History

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