mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-03 04:53:50 +00:00
Update README.md
This commit is contained in:
parent
8115784059
commit
1a415475ce
@ -81,9 +81,9 @@ go语言编写,无第三方依赖,各个平台都已经编译在release中
|
||||
- 安装源码(另有snappy、beego包)
|
||||
> go get github.com/cnlh/easyProxy
|
||||
- 编译
|
||||
> go build cmd/server/proxy_server.go
|
||||
> go build cmd/proxy_server/proxy_server.go
|
||||
|
||||
> go build cmd/client/proxy_client.go
|
||||
> go build cmd/proxy_client/proxy_client.go
|
||||
|
||||
## web管理模式
|
||||
|
||||
@ -227,7 +227,7 @@ httpProxyPort | http代理监听端口
|
||||
|
||||
### 与nginx配合
|
||||
|
||||
有时候我们还需要在云服务器上运行https来保证静态文件缓存等,本代理可和nginx配合使用,在配置文件中将httpProxyPort设置为非80端口,并在nginx中配置代理,例
|
||||
普通场景下使用本代理已经能满足使用要求,但是有时候我们还需要在云服务器上运行nginx来保证静态文件缓存等,本代理可和nginx配合使用,在配置文件中将httpProxyPort设置为非80端口,并在nginx中配置代理,例
|
||||
```
|
||||
server {
|
||||
listen 80;
|
||||
@ -532,4 +532,4 @@ authip | 免验证ip,适用于web api
|
||||
## webAPI
|
||||
|
||||
为方便第三方扩展,在web模式下可利用webAPI进行相关操作,详情见
|
||||
[webAPI文档](https://github.com/cnlh/easyProxy/wiki/webAPI%E6%96%87%E6%A1%A3)
|
||||
[webAPI文档](https://github.com/cnlh/easyProxy/wiki/webAPI%E6%96%87%E6%A1%A3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user