mirror of https://github.com/pypa/pip
Merge pull request #5574 from javabrett/proxy-doc
Added User Guide section on proxy configuration.
This commit is contained in:
commit
067dd8c2c4
|
@ -51,6 +51,20 @@ For more information and examples, see the :ref:`pip install` reference.
|
|||
|
||||
.. _`Requirements Files`:
|
||||
|
||||
Using a Proxy Server
|
||||
********************
|
||||
|
||||
When installing packages from `PyPI`_, pip requires internet access, which
|
||||
in many corporate environments requires an outbound HTTP proxy server.
|
||||
|
||||
pip can be configured to connect through a proxy server in various ways:
|
||||
|
||||
* using the ``--proxy`` command-line option to specify a proxy in the form
|
||||
``[user:passwd@]proxy.server:port``
|
||||
* using ``proxy`` in a :ref:`config-file`
|
||||
* by setting the standard environment-variables ``http_proxy``, ``https_proxy``
|
||||
and ``no_proxy``.
|
||||
|
||||
Requirements Files
|
||||
******************
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Adding documentation for making pip use a proxy server
|
|
@ -0,0 +1 @@
|
|||
Adding documentation for making pip use a proxy server
|
Loading…
Reference in New Issue