HTTP/HTTPS Proxy on Pi

Set the HTTP proxy in the command line. Both HTTP and HTTPS are required. You can write the settings to ~/.bashrc.

    $ export http_proxy=
    $ export https_proxy=

Try to access a HTTP web:

    $ curl -v

Download via http:

    $ wget -O sample.png

Try to access a HTTPS site:

    $ curl -v

Download via https:

    $ wget --no-check-certificate