Skip to content

Commit 433ddb6

Browse files
authored
docs: update v3 steps for NGINX One config proxy (#873)
* docs: update v3 steps for NGINX One config proxy
1 parent 8243fe5 commit 433ddb6

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

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

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,40 @@ To set up your other NGINX instances to use the proxy instance to connect to NGI
6969
2. Open the NGINX Agent configuration file (**/etc/nginx-agent/nginx-agent.conf**) with a text editor.
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
72-
```yaml
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
83-
```
72+
{{< tabs name="Configure NGINX Agent to use the proxy" >}}
73+
74+
{{%tab name="NGINX Agent 3.x"%}}
75+
76+
```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"
88+
```
89+
90+
{{%/tab%}}
91+
{{%tab name="NGINX Agent 2.x"%}}
92+
```yaml
93+
command:
94+
server:
95+
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
96+
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:
102+
skip_verify: False
103+
```
104+
{{%/tab%}}
105+
{{%/tabs%}}
84106
85107
4. Restart NGINX Agent:
86108

0 commit comments

Comments
 (0)