/caddy-proxy

Docker image of Caddy with only the forwardproxy plugin - small HTTP 1.1 & 2.0 proxy without authentication

Primary LanguageDockerfileMIT LicenseMIT

A tiny Caddy image with the Forward Proxy plugin compressed with UPX.

Usage

The HTTP proxy port is 2015:

docker run -it --rm -p 2015:2015 unixfox/caddy-proxy

Overwrite Caddyfile:

docker run -it --rm -p 2015:2015 -v $PWD/Caddyfile:/etc/Caddyfile unixfox/caddy-proxy

Access the .caddy in case you need it:

docker run -it --rm -p 2015:2015 -v $PWD/Caddyfile:/etc/Caddyfile -v $HOME/.caddy:/etc/.caddy unixfox/caddy-proxy