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
`controller.watchNamespace` | Namespace to watch for Ingress resources. By default the Ingress controller watches all namespaces. | ""
211
211
`controller.enableCustomResources` | Enable the custom resources. | true
212
212
`controller.enableTLSPassthrough` | Enable TLS Passthrough on port 443. Requires `controller.enableCustomResources`. | false
213
+
`controller.enableSnippets` | Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources. | false
213
214
`controller.healthStatus` | Add a location "/nginx-health" to the default server. The location responds with the 200 status code for any request. Useful for external health-checking of the Ingress controller. | false
214
215
`controller.healthStatusURI` | Sets the URI of health status location in the default server. Requires `contoller.healthStatus`. | "/nginx-health"
215
216
`controller.nginxStatus.enable` | Enable the NGINX stub_status, or the NGINX Plus API. | true
Copy file name to clipboardExpand all lines: docs-web/configuration/global-configuration/command-line-arguments.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,10 @@ The Ingress Controller supports several command-line arguments. Setting the argu
6
6
7
7
Below we describe the available command-line arguments:
8
8
```eval_rst
9
+
.. option:: -enable-snippets
10
+
11
+
Enable custom NGINX configuration snippets in VirtualServer and VirtualServerRoute resources. (default false)
12
+
9
13
.. option:: -default-server-tls-secret <string>
10
14
11
15
Secret with a TLS certificate and key for TLS termination of the default server.
@@ -27,11 +31,11 @@ Below we describe the available command-line arguments:
27
31
28
32
.. option:: -enable-custom-resources
29
33
30
-
Enables custom resources (default true)
34
+
Enables custom resources. (default true)
31
35
32
36
.. option:: -enable-leader-election
33
37
34
-
Enables Leader election to avoid multiple replicas of the controller reporting the status of Ingress, VirtualServer and VirtualServerRoute resources -- only one replica will report status (default true).
38
+
Enables Leader election to avoid multiple replicas of the controller reporting the status of Ingress, VirtualServer and VirtualServerRoute resources -- only one replica will report status. (default true)
35
39
36
40
See :option:`-report-ingress-status` flag.
37
41
@@ -161,13 +165,13 @@ Below we describe the available command-line arguments:
161
165
162
166
Enables exposing NGINX or NGINX Plus metrics in the Prometheus format.
163
167
164
-
.. option:: -prometheus-metrics-listen-port
168
+
.. option:: -prometheus-metrics-listen-port <int>
165
169
166
170
Sets the port where the Prometheus metrics are exposed.
167
171
168
172
Format: ``[1023 - 65535]`` (default 9113)
169
173
170
-
.. option:: -spire-agent-address
174
+
.. option:: -spire-agent-address <string>
171
175
172
176
Specifies the address of a running Spire agent. **For use with NGINX Service Mesh only**.
0 commit comments