Configure NGINX¶
By default, NGINX is used as a proxy. The following configuration options are available for the NGINX extension.
Note
The ServerNamesHashBucketSize
option, which allowed the user to manually
set the bucket size for the server names hash table, was removed in MKE
3.4.2 because MKE now adaptively calculates the setting and overrides any
manual input.
Option |
Type |
Description |
Defaults |
---|---|---|---|
|
string |
User name for the proxy |
|
|
string |
Path to the PID file for the proxy service |
|
|
int |
Maximum number of connections for the proxy service |
|
|
int |
Timeout in seconds for clients to connect |
|
|
int |
Timeout in seconds for the service to read a response from the proxied upstream |
|
|
int |
Timeout in seconds for the service to read a response from the proxied upstream |
|
|
int |
Options to be passed when configuring SSL |
N/A |
|
int |
Size of DH parameters |
|
|
string |
Path to DH parameters file |
N/A |
|
string |
SSL client verification |
|
|
string |
Number of worker processes for the proxy service |
|
|
int |
Maximum number of open files for the proxy service |
|
|
string |
SSL ciphers to use for the proxy service |
|
|
string |
Enable the specified TLS protocols |
|
|
bool |
Hide proxy-related response headers |
N/A |
|
string |
Connection keep-alive timeout |
|
|
string |
Maximum allowed client request body size |
|
|
string |
Buffer size for reading client request body |
|
|
string |
Maximum number and size of buffers used for reading large client request header |
|
|
string |
Maximum number and size of buffers used for reading large client request header |
|
|
string |
Timeout for reading client request body |
|
|
bool |
Enables or disables the use of underscores in client request header fields |
|
|
int |
Size of the shared memory zone (in KB) |
|
|
[]string |
List of options that are included in the global configuration |
N/A |
|
[]string |
List of options that are included in the HTTP configuration |
N/A |
|
[]string |
List of options that are included in the stream (TCP) configuration |
N/A |
|
string |
Path to use for access logs |
|
|
string |
Path to use for error logs |
|
|
string |
Format to use for main logger |
N/A |
|
string |
Format to use for trace logger |
N/A |
See also