Skip to content

Commit 296238b

Browse files
authored
chore: update the nginx-agent.conf example to Agent V3 version. (#855)
* chore: update the nginx-agent.conf example to Agent V3 version.
1 parent 45d2012 commit 296238b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,16 @@ To set up your other NGINX instances to use the proxy instance to connect to NGI
7070
3. Add the following configuration. Replace `YOUR_DATA_PLANE_KEY_HERE` with your actual data plane key and `YOUR_PROXY_IP_ADDRESS_HERE` with the IP address of the NGINX proxy instance.
7171
7272
```yaml
73-
server:
74-
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Data Plane Key.
75-
token: "YOUR_DATA_PLANE_KEY_HERE"
76-
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
77-
host: YOUR_PROXY_IP_ADDRESS_HERE
78-
grpcPort: 5000
79-
command: agent.connect.nginx.com
80-
metrics: agent.connect.nginx.com
81-
tls:
82-
enable: true
83-
skip_verify: false
73+
command:
74+
server:
75+
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
76+
host: YOUR_PROXY_IP_ADDRESS_HERE
77+
port: 443
78+
auth:
79+
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
80+
token: "YOUR_DATA_PLANE_KEY_HERE"
81+
tls:
82+
skip_verify: False
8483
```
8584
8685
4. Restart NGINX Agent:

0 commit comments

Comments
 (0)