Skip to content

Commit 4693c97

Browse files
committed
fix: docker steps
1 parent dbbe8b1 commit 4693c97

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

content/nginx-one/agent/configure-instance-reporting/connect-using-squid.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,7 @@ TBD
4545

4646
To configure NGINX Agent in a containerized environment:
4747

48-
1. Configure the following environment variables for the docker command:
49-
50-
```sh
51-
NGINX_AGENT_COMMAND_SERVER_PROXY_URL=http://proxy.example.com:3128
52-
NGINX_AGENT_COMMAND_SERVER_PROXY_TIMEOUT=10
53-
```
54-
55-
1. Run the NGINX Agent container with the environment variables set:
48+
1. Run the NGINX Agent container with the environment variables set as follows:
5649

5750
```sh
5851
docker run -d \
@@ -89,16 +82,7 @@ If your Squid proxy requires authentication, you can specify the username and pa
8982

9083
To set proxy authentication in a containerized environment:
9184

92-
1. Configure the following environment variables for the docker command:
93-
94-
```sh
95-
NGINX_AGENT_COMMAND_SERVER_PROXY_URL=http://proxy.example.com:3128
96-
NGINX_AGENT_COMMAND_SERVER_PROXY_AUTH_METHOD=basic
97-
NGINX_AGENT_COMMAND_SERVER_PROXY_USERNAME="user"
98-
NGINX_AGENT_COMMAND_SERVER_PROXY_PASSWORD="pass"
99-
```
100-
101-
1. Run the NGINX Agent container with the environment variables set:
85+
1. Run the NGINX Agent container with the environment variables set as follows:
10286

10387
```sh
10488
docker run -d \

0 commit comments

Comments
 (0)