Sign inSign up

joestldr/http-proxy

By joestldr

•Updated about 1 year ago

A very lightweight HTTP Proxy | Powered by: tinyproxy (https://github.com/tinyproxy)

Image
0

2.9K

joestldr/http-proxy repository overview

⁠A very lightweight HTTP Proxy

Powered by: tinyproxy⁠

DockerHub: https://hub.docker.com/r/joestldr/http-proxy⁠

GitHub: https://github.com/joestldr/dockerized-http-proxy⁠

⁠TLDR; Quickstart

docker run \
    --name joestldr-http-proxy \
    --detach \
    --restart=unless-stopped \
    --publish=3128:3128 \
  joestldr/http-proxy:latest

⁠Use config file

Sample (default) tinyproxy.conf:

Port 3128
Listen 0.0.0.0
Timeout 600
Allow 0.0.0.0/0
LogLevel Connect
XTinyproxy No

Ref: http://tinyproxy.github.io⁠

Run with *.conf file:

CONF_PATH='/path/to/tinyproxy.conf'

docker run \
    --name joestldr-http-proxy \
    --detach \
    --restart=unless-stopped \
    --publish=3128:3128 \
    --mount="type=bind,source=${CONF_PATH},target=/etc/tinyproxy.conf,readonly" \
  joestldr/http-proxy:latest

⁠Sample docker compose usage:

See "Dockerized VPN Proxy" - Magical HTTP and SOCKS4/SOCKS5 proxy behind VPN (without host being on VPN)

Link: https://github.com/joestldr/dockerized-vpn-proxy⁠

⁠License

Copyright 2023 joestldr⁠

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tag summary

Content type

Image

Digest

sha256:2af958c0d…

Size

3.7 MB

Last updated

about 1 year ago

docker pull joestldr/http-proxy