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: content/nic/configuration/proxy-buffers-configuration.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ weight: 850
5
5
nd-docs: DOCS-590
6
6
---
7
7
8
-
This document explains how the `--with-directive-autoadjust` option prevents NGINX configuration errors by automatically adjusting HTTP proxy buffer directives.
8
+
This document explains how the `--enable-directive-autoadjust` option prevents NGINX configuration errors by automatically adjusting HTTP proxy buffer directives.
9
9
10
10
---
11
11
## What it does
12
12
13
-
The `--with-directive-autoadjust` feature automatically fixes common proxy buffer configuration mistakes that would otherwise cause NGINX to fail with errors like:
13
+
The `--enable-directive-autoadjust` feature automatically fixes common proxy buffer configuration mistakes that would otherwise cause NGINX to fail with errors like:
14
14
15
15
```text
16
16
[emerg] "proxy_busy_buffers_size" must be less than the size of all "proxy_buffers" minus one buffer
@@ -34,7 +34,7 @@ The `--with-directive-autoadjust` feature automatically fixes common proxy buffe
34
34
Add the flag to the controller container:
35
35
```yaml
36
36
args:
37
-
- --with-directive-autoadjust=true
37
+
- --enable-directive-autoadjust=true
38
38
```
39
39
{{% /tab %}}
40
40
{{% tab name="Helm" %}}
@@ -62,7 +62,7 @@ data:
62
62
63
63
{{% tab name="Before (Error)" %}}
64
64
65
-
Before enabling `--with-directive-autoadjust`, NGINX fails to start with configuration validation errors.
65
+
Before enabling `--enable-directive-autoadjust`, NGINX fails to start with configuration validation errors.
66
66
67
67
```shell
68
68
stderr: "2025/08/26 14:29:49 [emerg] 196#196: "proxy_busy_buffers_size" must be less than the size of all "proxy_buffers" minus one buffer in /etc/nginx/nginx.conf:121"
@@ -72,7 +72,7 @@ stderr: "2025/08/26 14:29:49 [emerg] 196#196: "proxy_busy_buffers_size" must be
72
72
73
73
{{% tab name="After (Fixed)" %}}
74
74
75
-
With `--with-directive-autoadjust`, the configuration is automatically adjusted:
75
+
With `--enable-directive-autoadjust`, the configuration is automatically adjusted:
76
76
77
77
```nginx
78
78
proxy_buffers 8 1m;
@@ -111,7 +111,7 @@ stderr: "2025/08/26 14:34:46 [emerg] 47#47: "proxy_busy_buffers_size" must be eq
111
111
112
112
{{% tab name="After (Fixed)" %}}
113
113
114
-
With `--with-directive-autoadjust`, sensible defaults are applied:
114
+
With `--enable-directive-autoadjust`, sensible defaults are applied:
0 commit comments