Help Center> FunctionGraph> FAQs> General FAQs> How Do I Set a Proxy When Using CLI?
Updated on 2022-08-19 GMT+08:00

How Do I Set a Proxy When Using CLI?

Question

When using CLI to upload a ZIP code package, how do I set a proxy server and identity information to complete authentication through the proxy gateway on the internal network?

Answer

Run the following command to set a proxy:

export HTTP_PROXY="http://user:password@proxyIp:proxyPort"

For more information, see https://www.cyberciti.biz/faq/unix-linux-export-variable-http_proxy-with-special-characters/.

General FAQs FAQs

more