You are browsing a read-only backup copy of Wikitech. The primary site can be found at

HTTP proxy

From Wikitech-static
Jump to navigation Jump to search

To allow HTTP requests reach the outside world, we maintain a caching HTTP proxy in each datacenter. They are exposed using services entries of the form webproxy.<datacenter>.wmnet. These proxies are not meant to be used from Cloud VPS instances.

As of 20th August 2019, the entries are:

Service Name Server port
webproxy.eqiad.wmnet 8080
webproxy.codfw.wmnet 8080
webproxy.esams.wmnet 8080
webproxy.ulsfo.wmnet 8080
webproxy.eqsin.wmnet 8080

You can set the http_proxy and https_proxy environment variables to make many command-line scripts use the site specific proxy automatically. Add these lines to your ~/.profile file.

export http_proxy=http://webproxy:8080
export https_proxy=http://webproxy:8080
export no_proxy=,localhost,.wmnet

You can also set these variables for your current session only by running the same commands at the terminal prompt.


If you are using curl, you can use the --proxy flag:

curl --proxy http://webproxy.eqiad.wmnet:8080


See also