GithubHelp home page GithubHelp logo

c0c1 / docker-microproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shkrid/docker-microproxy

0.0 0.0 0.0 5 KB

Dockerized Lightweight non-caching HTTP(S) proxy server https://github.com/thekvs/microproxy

Makefile 61.46% Shell 38.54%

docker-microproxy's Introduction

About

Dockerized lightweight non-caching HTTP(S) proxy server https://github.com/thekvs/microproxy

Usage

  • default login:pass - microproxy:microproxy
docker run -d --name http-proxy -p 3128:3128 shkrid/docker-microproxy
  • Setup login:pass
docker run -d --name http-proxy -p 3128:3128 -e MP_USER=login -e MP_PASS=pass --restart=unless-stopped  shkrid/docker-microproxy
  • Custom config:
  1. Copy config from running container
docker cp http-proxy:/mp .
  1. Edit configs
$ cat mp/microproxy.toml
listen="0.0.0.0:3128"
access_log="/dev/stdout"
activity_log="/dev/stderr"
allowed_connect_ports=[443, 80]
auth_file="auth.txt"
auth_type="basic"
forwarded_for_header="delete"
via_header="delete"
allowed_networks=["0.0.0.0/0"]

$ cat mp/auth.txt
microproxy:microproxy
  1. Remove old container
$ docker rm -f http-proxy
  1. Start new container with volume mount
docker run -d --name http-proxy -p 3128:3128 -v $PWD/mp:/mp --restart=unless-stopped  shkrid/docker-microproxy

docker-microproxy's People

Contributors

shkrid 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.