Public | Automated Build

Last pushed: 2 years ago
Short Description
Fast, secure forward proxy: secure connection to proxy and ability to tunnel HTTP, HTTPS, and SPDY.
Full Description

Supported tags and respective Dockerfile links

What is SPDY Proxy?

SPDY Proxy is a fast, secure forward proxy. It acts as a secure proxy to access the internet via it: Secure connection to proxy and ability to tunnel HTTP, HTTPS, and SPDY.

Allows to encrypt via TSL to a proxy server your entire browsing network accesses which may speed up (if your server has better network than the machine running your browser), bypass network web filters/firwalls (for example if you server is in another country and you're in China).

How to use this image


Features of this Dockerized image:

  • Small: Based on node:slim (because currently it doesn't work on Alpine).
  • Simple: Exposes default port, generate self-signed certificate unless provided.
  • Safe: Runs as non-root UID/GID 1593 (selected randomly to avoid mapping to an existing user), and supports basic auth, runs dumb-init to handle PID 1 properly.

Usage example

$ docker run -d --net=host wernight/spdyproxy

Note: --net=host is required for SPDY pings to be handled, outside of it, only port TCP 44300 is used.

It's recommended that you provide a valid certificate, or at least self-sign one for your domain by mounting them as /ssl/tls.key and /ssl/tls.crt (you can mount as read-only, just check that user 1593 has read access to them). It'll generate a self-signed certificate if there isn't one already, however, it'll be signed for your current public IP address (you may also link it to a data-only container to preserve the generate certificate).

You can require basic authentication by specifying environment variables SPDY_USERNAME and SPDY_PASSWORD.

Note: The entrypoint is set to spdyproxy so you can just run: docker run --rm -it wernight/spdyproxy --help.

Client-side setup

Once running, you may setup your compatible Browser to use your server.

  1. Check it works by connecting to (replace by your server hostname/IP) and it may show an infinite load but it should not show a untrustued certificate screen. If you're not using a trusted certificate (e.g. self-signed), you'll have to import the certificate PEM (/ssl/server.crt used by spdyproxy) as an authority for websites:
    • Chrome on Linux:
      1. Settings > Show advanced settings > HTTPS/SSL > Manage Certificates
      2. Authorities tab > Import the certificate file you just downloaded.
      3. ☑ Trust for Websites
    • Chrome on Mac:
      1. Settings > Show advanced settings > HTTPS/SSL > Manage Certificates
      2. File > Import Items…
  2. Create a PAC script, simplest on Chrome is using SwitchyOmega, like below (replace by the hostname or IP of your server running spdyproxy):

    function FindProxyForURL(url, host) {
      // Tries to go through proxy and falls back to direct connection.
      return "HTTPS; DIRECT";
  3. If you've set up a user/password, click the lock icon next to the PAC Script on SwitchyOmega to input your username/password.

User Feedback

Having more issues? Report a bug on GitHub.

Docker Pull Command
Source Repository