Drop PHP version support (useless) + fix some bugs

This commit is contained in:
Emilien Mantel
2019-12-29 16:29:18 +01:00
parent 2a612a55b9
commit a9a72dd25f
13 changed files with 40 additions and 105 deletions

View File

@@ -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)

View File

@@ -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.