Skip to content

Commit 1e22d90

Browse files
committed
added agent.config
1 parent 8008466 commit 1e22d90

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,10 @@ This step takes place once on the IoT Edge device during initial device setup.
286286
[agent]
287287
name = "edgeAgent"
288288
type = "docker"
289-
289+
290+
[agent.config]
291+
image = "mcr.microsoft.com/azureiotedge-agent:1.4" // or 1.3
292+
290293
[agent.env]
291294
# "RuntimeLogLevel" = "debug"
292295
# "UpstreamProtocol" = "AmqpWs"
@@ -296,6 +299,9 @@ This step takes place once on the IoT Edge device during initial device setup.
296299
4. The IoT Edge runtime uses AMQP by default to talk to IoT Hub. Some proxy servers block AMQP ports. If that's the case, then you also need to configure edgeAgent to use AMQP over WebSocket. Uncomment the `UpstreamProtocol` parameter.
297300

298301
```toml
302+
[agent.config]
303+
image = "mcr.microsoft.com/azureiotedge-agent:1.4" // or 1.3
304+
299305
[agent.env]
300306
# "RuntimeLogLevel" = "debug"
301307
"UpstreamProtocol" = "AmqpWs"

0 commit comments

Comments
 (0)