An open API service indexing awesome lists of open source software.

https://github.com/0-rtt/ghproxy-go

基于Go语言开发的Github文件代理加速工具!
https://github.com/0-rtt/ghproxy-go

Last synced: 10 months ago
JSON representation

基于Go语言开发的Github文件代理加速工具!

Awesome Lists containing this project

README

          

# ghproxy-go
## 一键安装

```
bash -c "$(curl -L https://raw.githubusercontent.com/0-RTT/index/main/ghproxy-go.sh)" @ install
```

## 一键卸载

```
bash -c "$(curl -L https://raw.githubusercontent.com/0-RTT/index/main/ghproxy-go.sh)" @ remove
```

## 配置nginx反代

```
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
```