This is a simple HTTP proxy project built in Golang. This was created for learning purposes to understand how HTTP proxies work.
Before building and running the HTTP proxy, make sure you have the following installed on your system:
- Go programming language (version 1.19 or later)
git clone https://github.com/yalhyane/simple-http-proxy
cd simple-http-proxy
go build
./simple-http-proxy --addr="127.0.0.1:8889"
cd simple-http-proxy
docker build -t simple-go-http-proxy .
docker run --rm -it -p 8889:8889 simple-go-http-proxy
curl -x http://127.0.0.1:8889 http://api.ipify.org