Skip to content

Commit b214778

Browse files
authored
Update the nginx-agent config example with both Agent V3 and Agent V2 (#877)
Update set-up-nginx-proxy-for-nginx-one.md
1 parent 433ddb6 commit b214778

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

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

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,31 +74,29 @@ To set up your other NGINX instances to use the proxy instance to connect to NGI
7474
{{%tab name="NGINX Agent 3.x"%}}
7575
7676
```yaml
77-
command:
78-
server:
79-
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
80-
host: YOUR_PROXY_IP_ADDRESS_HERE
81-
port: 5000
82-
auth:
83-
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
84-
token: "YOUR_DATA_PLANE_KEY_HERE"
85-
tls:
86-
skip_verify: False
87-
server_name: "agent.connect.nginx.com"
77+
command:
78+
server:
79+
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
80+
host: YOUR_PROXY_IP_ADDRESS_HERE
81+
port: 5000
82+
auth:
83+
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
84+
token: "YOUR_DATA_PLANE_KEY_HERE"
85+
tls:
86+
skip_verify: False
8887
```
8988

9089
{{%/tab%}}
9190
{{%tab name="NGINX Agent 2.x"%}}
9291
```yaml
93-
command:
94-
server:
92+
server:
93+
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Data Plane Key.
94+
token: "YOUR_DATA_PLANE_KEY_HERE"
9595
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
9696
host: YOUR_PROXY_IP_ADDRESS_HERE
97-
port: 443
98-
auth:
99-
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
100-
token: "YOUR_DATA_PLANE_KEY_HERE"
101-
tls:
97+
grpcPort: 5000
98+
tls:
99+
enable: True
102100
skip_verify: False
103101
```
104102
{{%/tab%}}

0 commit comments

Comments
 (0)