File tree Expand file tree Collapse file tree 1 file changed +45
-1
lines changed Expand file tree Collapse file tree 1 file changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -113,4 +113,48 @@ The {+atlas-cli+} supports the following environment variables:
113
113
{+atlas-cli+}. Set to ``false`` to disable telemetry.
114
114
115
115
You can also enable or disable telemetry with ``DO_NOT_TRACK``,
116
- but you don't need to specify both.
116
+ but you don't need to specify both.
117
+
118
+ * - ``HTTP_PROXY``
119
+ - The absolute |url| or the hostname and port in the
120
+ ``hostname[:port]`` format.
121
+
122
+ The following examples show how to set up the environment
123
+ variable in different situations:
124
+
125
+ - If your proxy configuration doesn't require authentication:
126
+
127
+ .. code-block:: sh
128
+ :copyable: false
129
+
130
+ HTTP_PROXY=<my.proxy.address>
131
+
132
+ - If your proxy configuration requires authentication:
133
+
134
+ .. code-block:: sh
135
+ :copyable: false
136
+
137
+ HTTP_PROXY=<username>:<password>@<my.proxy.address>
138
+
139
+ - If the scheme is ``socks5``:
140
+
141
+ .. code-block:: sh
142
+ :copyable: false
143
+
144
+ HTTP_PROXY=socks5://<my.proxy.address>
145
+
146
+ * - ``HTTPS_PROXY``
147
+ - The absolute |url|. If ``HTTP_PROXY`` is also set, this takes
148
+ precedence over ``HTTP_PROXY`` for all requests.
149
+
150
+ The following example shows how to set up the environment
151
+ variable:
152
+
153
+ .. code-block:: sh
154
+ :copyable: false
155
+
156
+ HTTPS_PROXY=https://<my.proxy.address>
157
+
158
+ * - ``NO_PROXY``
159
+ - Indicates no proxy for the |url| because proxy isn't configured
160
+ for the |url|.
You can’t perform that action at this time.
0 commit comments