Sign inSign up

notrealwelder/tinyproxy

By notrealwelder

•Updated about 1 year ago

Tinyproxy⁠ is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems.

Image
Networking
0

2.7K

notrealwelder/tinyproxy repository overview

⁠TinyProxy Docker Image

A lightweight HTTP/HTTPS proxy server with added tzdata package for correct timestamping in logs. Easily configurable timezone support via Docker.

⁠Features:

  • Simple HTTP/HTTPS proxy
  • Timezone-aware logging (via TZ environment variable)
  • Custom configuration support

⁠Server Setup

  1. Create docker-compose.yml:
services:
  tinyproxy:
    image: notrealwelder/tinyproxy
    environment:
      - TZ=Europe/Saratov  # Set your timezone
    ports:
      - "8888:8888"
    volumes:
      - ./data:/etc/tinyproxy  # Mount config directory
    restart: unless-stopped
  1. Place your tinyproxy.conf into data/

tinyproxy.conf example:

Port 8888
Timeout 600
Logfile "/etc/tinyproxy/tinyproxy.log"
LogLevel Connect
MaxClients 500
Allow 192.168.1.0/24
ConnectPort 443
ConnectPort 563

Full documentation can be found at https://tinyproxy.github.io⁠

  1. Start the service
docker-compose up -d

⁠Client usage

# From remote client
curl -v https://your-hostname(or-ip):8888 https://google.com

# From localhost (if testing on same machine)
curl -v https://localhost:8888 https://google.com

Tag summary

Content type

Image

Digest

sha256:30c9293cd…

Size

3.1 MB

Last updated

about 1 year ago

docker pull notrealwelder/tinyproxy