Skip to content

A simple reverse proxy written in Go,Can be used for OpenAI proxy or other HTTP proxy.

License

Notifications You must be signed in to change notification settings

miiy/go-http-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-http-proxy

A simple reverse proxy written in Go.

Features

  • proxy auth
  • local proxy
  • log

docker

build image

sudo docker build . -t registry.cn-hangzhou.aliyuncs.com/test/go-http-proxy:v0.1.0

run

sudo docker run --name go-http-proxy \
  --add-host=host.docker.internal:host-gateway \
  --net frontend -d registry.cn-hangzhou.aliyuncs.com/test/go-http-proxy:v0.1.0 /app/app -addr=:8080 -local-proxy=http://host.docker.internal:7890

About

A simple reverse proxy written in Go,Can be used for OpenAI proxy or other HTTP proxy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published