Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,40 @@ To set up your other NGINX instances to use the proxy instance to connect to NGI
2. Open the NGINX Agent configuration file (**/etc/nginx-agent/nginx-agent.conf**) with a text editor.
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.

```yaml
command:
server:
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
host: YOUR_PROXY_IP_ADDRESS_HERE
port: 443
auth:
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
token: "YOUR_DATA_PLANE_KEY_HERE"
tls:
skip_verify: False
```
{{< tabs name="Configure NGINX Agent to use the proxy" >}}

{{%tab name="NGINX Agent 3.x"%}}

```yaml
command:
server:
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
host: YOUR_PROXY_IP_ADDRESS_HERE
port: 5000
auth:
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
token: "YOUR_DATA_PLANE_KEY_HERE"
tls:
skip_verify: False
server_name: "agent.connect.nginx.com"
```

{{%/tab%}}
{{%tab name="NGINX Agent 2.x"%}}
```yaml
command:
server:
# Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance.
host: YOUR_PROXY_IP_ADDRESS_HERE
port: 443
auth:
# Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key.
token: "YOUR_DATA_PLANE_KEY_HERE"
tls:
skip_verify: False
```
{{%/tab%}}
{{%/tabs%}}

4. Restart NGINX Agent:

Expand Down