mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-11 12:52:10 +07:00
Drop PHP version support (useless) + fix some bugs
This commit is contained in:
13
doc/php.md
13
doc/php.md
@@ -2,8 +2,7 @@ PHP
|
||||
===
|
||||
|
||||
`nginx_php`:
|
||||
- `version`: (M) PHP version
|
||||
- `upstream_name` (O)
|
||||
- `upstream_name` (M)
|
||||
- `sockets`: (O) socket list
|
||||
|
||||
If `sockets` is not provided, if uses local unix socket (based on PHP version).
|
||||
@@ -16,8 +15,8 @@ Each socket have:
|
||||
|
||||
XOR
|
||||
|
||||
- `host`
|
||||
- `port`
|
||||
- `weight`
|
||||
- `max_fails`
|
||||
- `fail_timeout`
|
||||
- `host` (M)
|
||||
- `port` (M)
|
||||
- `weight` (O)
|
||||
- `max_fails` (O)
|
||||
- `fail_timeout` (O)
|
||||
|
||||
@@ -29,7 +29,6 @@ Common
|
||||
- `proto`: (O) list of protocol used. Default is a list with "http". If you need http and https, you must set a list with "http" and "https". You can only set "https" without http support.
|
||||
- `ssl_name`: (D) name of the key used when using TLS/SSL. Optional when `proto` contains "https". If you don't set this value, it will search by `name`.
|
||||
- `ssl_template` (O) "strong" (default) or "legacy". You can disable SSL helpers and add your own directives by setting "false".
|
||||
- `php_version` (O) Sepecify PHP version (5 or 7)
|
||||
- `http_proxy_protocol_port` (O) Enable proxy protocol on http port.
|
||||
- `https_proxy_protocol_port` (O) Enable proxy protocol on https port.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user