Skip to content

Commit 4f101c9

Browse files
Update how-to-configure-proxy-support.md
Following TOML v1.0 guidelines, replace quoted keys with bare keys. https://toml.io/en/v1.0.0#keyvalue-pair Quoted keys follow the exact same rules as either basic strings or literal strings, allowing for a much broader set of key names. However, best practice is to use bare keys unless absolutely necessary.
1 parent cc2b670 commit 4f101c9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ This step takes place once on the IoT Edge device during initial device setup.
213213
image = "mcr.microsoft.com/azureiotedge-agent:1.5"
214214

215215
[agent.env]
216-
# "RuntimeLogLevel" = "debug"
217-
# "UpstreamProtocol" = "AmqpWs"
218-
"https_proxy" = "<proxy URL>"
216+
# RuntimeLogLevel = "debug"
217+
# UpstreamProtocol = "AmqpWs"
218+
https_proxy = "<proxy URL>"
219219
```
220220

221221
4. The IoT Edge runtime uses AMQP by default to communicate with 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. Remove the comment from the `UpstreamProtocol` parameter.
@@ -225,9 +225,9 @@ This step takes place once on the IoT Edge device during initial device setup.
225225
image = "mcr.microsoft.com/azureiotedge-agent:1.5"
226226

227227
[agent.env]
228-
# "RuntimeLogLevel" = "debug"
229-
"UpstreamProtocol" = "AmqpWs"
230-
"https_proxy" = "<proxy URL>"
228+
# RuntimeLogLevel = "debug"
229+
UpstreamProtocol = "AmqpWs"
230+
https_proxy = "<proxy URL>"
231231
```
232232

233233
3. Add the **https_proxy** parameter to the environment variables section, and set your proxy URL as its value.
@@ -241,9 +241,9 @@ This step takes place once on the IoT Edge device during initial device setup.
241241
image = "mcr.microsoft.com/azureiotedge-agent:1.5"
242242

243243
[agent.env]
244-
# "RuntimeLogLevel" = "debug"
245-
# "UpstreamProtocol" = "AmqpWs"
246-
"https_proxy" = "<proxy URL>"
244+
# RuntimeLogLevel = "debug"
245+
# UpstreamProtocol = "AmqpWs"
246+
https_proxy = "<proxy URL>"
247247
```
248248

249249
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.
@@ -253,9 +253,9 @@ This step takes place once on the IoT Edge device during initial device setup.
253253
image = "mcr.microsoft.com/azureiotedge-agent:1.5"
254254

255255
[agent.env]
256-
# "RuntimeLogLevel" = "debug"
257-
"UpstreamProtocol" = "AmqpWs"
258-
"https_proxy" = "<proxy URL>"
256+
# RuntimeLogLevel = "debug"
257+
UpstreamProtocol = "AmqpWs"
258+
https_proxy = "<proxy URL>"
259259
```
260260

261261
5. Save the changes and close the editor. Apply the changes.

0 commit comments

Comments
 (0)