Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 874 Bytes

File metadata and controls

44 lines (31 loc) · 874 Bytes

tinyproxy-docker

Minimal Docker image for Tinyproxy HTTP/HTTPS proxy.

Image size: ~385KB (statically compiled, scratch-based)

Quick Start

docker run -d -p 8888:8888 mbotezatu/tinyproxy:latest

Test it:

curl -x http://localhost:8888 http://example.com

Build

docker build -t tinyproxy .

Build a different version:

docker build -t tinyproxy --build-arg GIT_BRANCH=1.11.1 .

Configuration

Mount a custom config:

docker run -d -p 8888:8888 -v /path/to/tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf tinyproxy

Default config allows all connections. For production, restrict with Allow directives.

Features

  • HTTP/HTTPS proxy (CONNECT method)
  • URL/domain filtering
  • Upstream proxy support (HTTP, SOCKS4, SOCKS5)
  • Transparent proxy mode
  • Reverse proxy mode