Skip to content

This is a simple url proxy forwarding service, mainly used for file download and forwarding.

License

Notifications You must be signed in to change notification settings

ztj1993/url-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-proxy

This is a simple URL proxy forwarding program, mainly used for file download.

这是一个简单的网址代理转发程序,主要用于文件的下载。

Binary

Run

go run .\url-proxy.go --help
go run .\url-proxy.go -addr :8888

Build

docker run --rm -v "$PWD":/srv -w /srv golang:1.18 ./build.sh dev

Docker

build

docker build -t ztj1993/url-proxy:latest .

Run

docker run -d --name=uproxy --restart=always -p 8888:8888 ztj1993/url-proxy:latest

Forward

Support forwarding to other url-proxy programs.

支持转发到其它的 url-proxy 程序。

forwarding.conf

github.com http://192.168.100.1:8888
google.com http://192.168.99.1:8888

run:

go run .\url-proxy.go -forward ./forwarding.conf

About

This is a simple url proxy forwarding service, mainly used for file download and forwarding.

Resources

License

Stars

Watchers

Forks

Packages

No packages published