doc: update

This commit is contained in:
fatedier 2016-04-19 19:02:13 +08:00
parent 0b9d823168
commit d7797cbd18
4 changed files with 10 additions and 10 deletions

View File

@ -22,15 +22,15 @@ frp is under development and you can try it with latest release version.Master b
## Quick Start ## Quick Start
Read the [QuickStart](doc/quick_start_en.md) Read the [QuickStart](/doc/quick_start_en.md)
[Tcp port forwarding](doc/quick_start_en.md#tcp-port-forwarding) [Tcp port forwarding](/doc/quick_start_en.md#tcp-port-forwarding)
[Http port forwarding and Custom domain binding](doc/quick_start_en.md#http-port-forwarding-and-custom-domains-binding) [Http port forwarding and Custom domain binding](/doc/quick_start_en.md#http-port-forwarding-and-custom-domains-binding)
## Architecture ## Architecture
![architecture](doc/pic/architecture.png) ![architecture](/doc/pic/architecture.png)
## Contributing ## Contributing

View File

@ -21,15 +21,15 @@ frp 目前正在前期开发阶段master分支用于发布稳定版本dev
## 快速开始 ## 快速开始
[使用文档](doc/quick_start_zh.md) [使用文档](/doc/quick_start_zh.md)
[tcp 端口转发](doc/quick_start_zh.md#tcp-端口转发) [tcp 端口转发](/doc/quick_start_zh.md#tcp-端口转发)
[http 端口转发,自定义域名绑定](doc/quick_start_zh.md#http-端口转发自定义域名绑定) [http 端口转发,自定义域名绑定](/doc/quick_start_zh.md#http-端口转发自定义域名绑定)
## 架构 ## 架构
![architecture](doc/pic/architecture.png) ![architecture](/doc/pic/architecture.png)
## 贡献代码 ## 贡献代码

View File

@ -79,7 +79,7 @@ use_encryption = true
## Http port forwarding and Custom domains binding ## Http port forwarding and Custom domains binding
If you only want to forward port one by one, you just need refer to [Tcp port forwarding](doc/quick_start_en.md#Tcp-port-forwarding).If you want to visit different web pages deployed in different web servers by **server B**'s **80 port**, you should specify the type as **http**. If you only want to forward port one by one, you just need refer to [Tcp port forwarding](/doc/quick_start_en.md#Tcp-port-forwarding).If you want to visit different web pages deployed in different web servers by **server B**'s **80 port**, you should specify the type as **http**.
You also need to resolve your **A record** of your custom domain to [server_addr], or resolve your **CNAME record** to [server_addr] if [server_addr] is a domain. You also need to resolve your **A record** of your custom domain to [server_addr], or resolve your **CNAME record** to [server_addr] if [server_addr] is a domain.

View File

@ -79,7 +79,7 @@ use_encryption = true
## http 端口转发,自定义域名绑定 ## http 端口转发,自定义域名绑定
如果只需要一对一的转发,例如**服务器B**的**80端口**转发**服务器A**的**8000端口**,则只需要配置 [tcp 端口转发](doc/quick_start_zh.md#tcp-端口转发) 即可,如果需要使**服务器B**的**80端口**可以转发至**多个**web服务端口则需要指定代理的类型为 http并且在 frps 的配置文件中配置用于提供 http 转发服务的端口。 如果只需要一对一的转发,例如**服务器B**的**80端口**转发**服务器A**的**8000端口**,则只需要配置 [tcp 端口转发](/doc/quick_start_zh.md#tcp-端口转发) 即可,如果需要使**服务器B**的**80端口**可以转发至**多个**web服务端口则需要指定代理的类型为 http并且在 frps 的配置文件中配置用于提供 http 转发服务的端口。
按照如下的内容修改配置文件后,需要将自定义域名的 **A 记录**解析到 [server_addr],如果 [server_addr] 是域名也可以将自定义域名的 **CNAME 记录**解析到 [server_addr]。 按照如下的内容修改配置文件后,需要将自定义域名的 **A 记录**解析到 [server_addr],如果 [server_addr] 是域名也可以将自定义域名的 **CNAME 记录**解析到 [server_addr]。