From 15092fea1a6ccb3119b7cb934c8b62c41a0f9f43 Mon Sep 17 00:00:00 2001 From: yluf5 <111309812+yluf5@users.noreply.github.com> Date: Fri, 18 Jul 2025 15:19:08 -0700 Subject: [PATCH 1/2] chore: update the nginx-agent.conf example to Agent V3 version. --- .../set-up-nginx-proxy-for-nginx-one.md | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md b/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md index c29aec28b..0c8e36fcf 100644 --- a/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md +++ b/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md @@ -70,17 +70,16 @@ To set up your other NGINX instances to use the proxy instance to connect to NGI 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 - server: - # Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Data Plane Key. - token: "YOUR_DATA_PLANE_KEY_HERE" - # Replace YOUR_PROXY_IP_ADDRESS_HERE with the IP address of the NGINX proxy instance. - host: YOUR_PROXY_IP_ADDRESS_HERE - grpcPort: 5000 - command: agent.connect.nginx.com - metrics: agent.connect.nginx.com - tls: - enable: true - skip_verify: false + 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 Data Plane Key. + token: "YOUR_DATA_PLANE_KEY_HERE" + tls: + skip_verify: False ``` 4. Restart NGINX Agent: From 1af695551e9a0db22b59cacc146bbc1919c0ba29 Mon Sep 17 00:00:00 2001 From: yluf5 <111309812+yluf5@users.noreply.github.com> Date: Fri, 18 Jul 2025 15:43:01 -0700 Subject: [PATCH 2/2] clarified the data plane key Co-authored-by: Travis Martin <33876974+travisamartin@users.noreply.github.com> --- .../connect-instances/set-up-nginx-proxy-for-nginx-one.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md b/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md index 0c8e36fcf..91e060c86 100644 --- a/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md +++ b/content/nginx-one/connect-instances/set-up-nginx-proxy-for-nginx-one.md @@ -76,7 +76,7 @@ To set up your other NGINX instances to use the proxy instance to connect to NGI host: YOUR_PROXY_IP_ADDRESS_HERE port: 443 auth: - # Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Data Plane Key. + # Replace YOUR_DATA_PLANE_KEY_HERE with your NGINX One Console data plane key. token: "YOUR_DATA_PLANE_KEY_HERE" tls: skip_verify: False