Giter Site home page Giter Site logo

docker-tinyproxy's Introduction

Tinyproxy Docker image

Build Status

Tinyproxy is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems. Designed from the ground up to be fast and yet small, it is an ideal solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable

Usage

docker run -rm --name tinyproxy -p 8888:8888 -e "ALLOWED=192.168.1.0/24" ajoergensen/tinyproxy

Environment

  • LISTEN_PORT: Change the port tinyproxy uses. Handy if running with --net host. Defaults to 8888
  • ALLOWED: Space seperated list of IPs, networks or hosts to allow access through the proxy
  • CONNECT_PORTS: This option can be used to specify the ports allowed for the CONNECT method. Default 443 and 563
  • LOG_TO_SYSLOG: When set to On, this option tells Tinyproxy to write its debug messages to syslog. Defaults to On
  • LOG_LEVEL: Sets the log level. Possible values are Critical (least verbose), Error, Warning, Notice, Connect (log connections without Info's noise), Info (most verbose). Defaults to Notice
  • MAXCLIENTS: Tinyproxy creates one child process for each connected client. This options specifies the absolute highest number processes that will be created
  • MINSPARESERVERS & MAXSPARESERVERS: Minimum and maximum number of spare servers to keep running. Defaults to 10 and 20 respectively
  • STARTSERVERS: The number of servers to start initially. Defaults to 10.

Advanced configuration

If you need a more advanced configuration, create a tinyproxy.conf outside the Docker container and use it inside:

docker run -rm --name tinyproxy -p 8888:8888 -v ./tinyproxy.conf:/etc/tinyproxy.conf:ro" ajoergensen/tinyproxy

docker-tinyproxy's People

Contributors

ajoergensen avatar shawnburke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.