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

HTTP proxy

From Wikitech-static
Revision as of 20:15, 14 November 2016 by imported>Neil P. Quinn-WMF (Fix some formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To let HTTP requests reach the outside world, we maintain a HTTP proxy in each datacenter. They are exposed using services entries of the form webproxy.<datacenter>.wmnet and are not meant to be used from labs instances.

As of 24th September 2015 the entries are:

Service Name Server port
webproxy.eqiad.wmnet carbon 8080

You may set the $http_proxy environment variable to make many CLI scripts automatically use this proxy:

 export http_proxy=http://webproxy.eqiad.wmnet:8080

If you need to send a request to an https url, do this:

 export https_proxy=http://webproxy.eqiad.wmnet:8080

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

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


See also