mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
558 B
558 B
Proxy-Go
A simple reverse proxy server written in Go.
使用方法: https://q58.org/t/topic/165?u=wood
说明
- 支持gzip和brotli压缩, 在
config.json
中配置 - 不同路径代理不同站点
- 回源Host修改
- 大文件使用流式传输, 小文件直接提供
TIPS
写的比较潦草, 希望有能力的同学帮忙完善优化一下
Configuration
Create a config.json
file in the data
directory:
{
"MAP":{
"/path1": "https://path1.com/path/path/path",
"/path2": "https://path2.com"
}
}