You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/nginx-ingress/values.yaml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,10 @@ controller:
164
164
## Sets the log format of Ingress Controller. Options include: glog, json, text
165
165
logFormat: glog
166
166
167
+
## Enables auto adjusting some of the NGINX directives to help with safe configuration and prevent NGINX misconfigurations.
168
+
## See https://docs.nginx.com/nginx-ingress-controller/configuration/proxy-buffers-configuration/ for more details of which configuration options are affected
169
+
directiveAutoAdjust: false
170
+
167
171
## Cache configuration options
168
172
cache:
169
173
## Enables shared cache across multiple pods using an external persistent volume
Copy file name to clipboardExpand all lines: cmd/nginx-ingress/flags.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,8 @@ var (
225
225
226
226
enableDynamicWeightChangesReload=flag.Bool(dynamicWeightChangesParam, false, "Enable changing weights of split clients without reloading NGINX. Requires -nginx-plus")
227
227
228
+
enableDirectiveAutoadjust=flag.Bool("enable-directive-autoadjust", false, "Enable automatic adjustment of NGINX directives to avoid conflicting NGINX configuration. Results may vary and might not be ideal in all cases.")
Copy file name to clipboardExpand all lines: docs/crd/k8s.nginx.org_virtualserverroutes.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,7 @@ The `.spec` object supports the following fields:
168
168
|`upstreams[].buffers`|`object`| Configures the buffers used for reading a response from the upstream server for a single connection. |
169
169
|`upstreams[].buffers.number`|`integer`| Configures the number of buffers. The default is set in the proxy-buffers ConfigMap key. |
170
170
|`upstreams[].buffers.size`|`string`| Configures the size of a buffer. The default is set in the proxy-buffers ConfigMap key. |
171
+
|`upstreams[].busy-buffers-size`|`string`| Sets the size of the buffers used for reading a response from the upstream server when the proxy_buffering is enabled. The default is set in the proxy-busy-buffers-size ConfigMap key.' |
171
172
|`upstreams[].client-max-body-size`|`string`| Sets the maximum allowed size of the client request body. The default is set in the client-max-body-size ConfigMap key. |
172
173
|`upstreams[].connect-timeout`|`string`| The timeout for establishing a connection with an upstream server. The default is specified in the proxy-connect-timeout ConfigMap key. |
173
174
|`upstreams[].fail-timeout`|`string`| The time during which the specified number of unsuccessful attempts to communicate with an upstream server should happen to consider the server unavailable. The default is set in the fail-timeout ConfigMap key. |
Copy file name to clipboardExpand all lines: docs/crd/k8s.nginx.org_virtualservers.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,7 @@ The `.spec` object supports the following fields:
203
203
|`upstreams[].buffers`|`object`| Configures the buffers used for reading a response from the upstream server for a single connection. |
204
204
|`upstreams[].buffers.number`|`integer`| Configures the number of buffers. The default is set in the proxy-buffers ConfigMap key. |
205
205
|`upstreams[].buffers.size`|`string`| Configures the size of a buffer. The default is set in the proxy-buffers ConfigMap key. |
206
+
|`upstreams[].busy-buffers-size`|`string`| Sets the size of the buffers used for reading a response from the upstream server when the proxy_buffering is enabled. The default is set in the proxy-busy-buffers-size ConfigMap key.' |
206
207
|`upstreams[].client-max-body-size`|`string`| Sets the maximum allowed size of the client request body. The default is set in the client-max-body-size ConfigMap key. |
207
208
|`upstreams[].connect-timeout`|`string`| The timeout for establishing a connection with an upstream server. The default is specified in the proxy-connect-timeout ConfigMap key. |
208
209
|`upstreams[].fail-timeout`|`string`| The time during which the specified number of unsuccessful attempts to communicate with an upstream server should happen to consider the server unavailable. The default is set in the fail-timeout ConfigMap key. |
0 commit comments