Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 582 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 582 Bytes

Forward Proxy Example

This is just simple example of a forward proxy working using goproxy.

It consists of a proxy server, a server and a client all of which are contained in their own folders.

Instructions

Start the proxy server

cd proxy

go run main.go

Start the server

cd server
go run main.go

Run the client

cd client
go run main.go

Expected output

To prove the requests are going via the proxy, it appends on the header: "X-GoProxy:hello world" which should be visible in the servers logs.