Monday, September 30, 2019

CentOS/RHEL: Setting up CURL for working through a proxy

Go to current user profile "cd ~" and create or edit file ".curlrc". Add the following line:

proxy=http://IP_ADDRESS:PORT_NUMBER

where IP_ADDRESS - proxy ip address and PORT_NUMBER - port number.

No comments:

Post a Comment