https://github.com/isayme/go-httpproxy
A http&https proxy in Golang
https://github.com/isayme/go-httpproxy
httpproxy httpsproxy
Last synced: 11 months ago
JSON representation
A http&https proxy in Golang
- Host: GitHub
- URL: https://github.com/isayme/go-httpproxy
- Owner: isayme
- License: mit
- Created: 2020-10-19T14:18:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T14:07:28.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T10:02:27.072Z (12 months ago)
- Topics: httpproxy, httpsproxy
- Language: Go
- Homepage:
- Size: 428 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httpproxy
[](https://hub.docker.com/r/isayme/httpproxy)


A simple http & https proxy server.
# Useage
## Docker
```
docker run --rm -p 1087:1087 isayme/httpproxy
```
## Docker Compose
```
version: "3"
services:
httpproxy:
container_name: httpproxy
image: isayme/httpproxy:latest
ports:
- "1087:1087"
# run as http proxy, port 1087
command: /app/httpproxy -p 1087
# run as http proxy, port 1087, request remote with another socks5 proxy
# command: httpproxy --proxy socks5://your-host:your-port -p 1087
# run as http proxy, port 1087, request remote with another http proxy
# command: httpproxy --proxy http://your-host:your-port -p 1087
# run as http proxy, port 1087, request remote with another https proxy
# command: httpproxy --proxy https://your-host:your-port -p 1087
```
# Refers
- [HTTP 代理原理及实现(一)](https://imququ.com/post/web-proxy.html)