https://github.com/chyroc/http-proxy
https://github.com/chyroc/http-proxy
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chyroc/http-proxy
- Owner: chyroc
- License: apache-2.0
- Created: 2023-02-28T03:44:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T10:51:58.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T02:18:53.777Z (10 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http-proxy
Simple Http Proxy Server Supporting Authentication.
## Usage
### By Docker
```shell
docker run -d \
-p 8080:8080 \
-e HTTP_PROXY_SERVER_HOST=127.0.0.1:8080 \
-e HTTP_PROXY_USERNAME=foo \
-e HTTP_PROXY_PASSWORD=bar \
ghcr.io/chyroc/http-proxy-cli:0.1.0
```
### By Binary
```shell
go install github.com/chyroc/http-proxy/http-proxy-cli@latest
export HTTP_PROXY_SERVER_HOST=127.0.0.1:8080
export HTTP_PROXY_USERNAME=foo
export HTTP_PROXY_PASSWORD=bar
http-proxy-cli
```