Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 06962bf

Browse files
authoredApr 15, 2022
Update how-to-configure-proxy-support.md
1 parent fd71df3 commit 06962bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎articles/iot-edge/how-to-configure-proxy-support.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,15 @@ This step takes place once on the IoT Edge device during initial device setup.
278278

279279
1. Open the config file on your IoT Edge device: `/etc/aziot/config.toml`. The configuration file is protected, so you need administrative privileges to access it. On Linux systems, use the `sudo` command before opening the file in your preferred text editor.
280280

281-
2. In the config file, find the `[agent]` section, which contains all the configuration information for the edgeAgent module to use on startup. Check and make sure that `[agent]`section is not commented out or add it if it is not included in the config.toml. The IoT Edge agent definition includes an `[agent.env]` subsection where you can add environment variables.
281+
2. In the config file, find the `[agent]` section, which contains all the configuration information for the edgeAgent module to use on startup. Check and make sure that the `[agent]`section is uncommented or add it if it is not included in the `config.toml`. The IoT Edge agent definition includes an `[agent.env]` subsection where you can add environment variables.
282282

283283
3. Add the **https_proxy** parameter to the environment variables section, and set your proxy URL as its value.
284284

285285
```toml
286+
[agent]
287+
name = "edgeAgent"
288+
type = "docker"
289+
286290
[agent.env]
287291
# "RuntimeLogLevel" = "debug"
288292
# "UpstreamProtocol" = "AmqpWs"

0 commit comments

Comments
 (0)
Please sign in to comment.