Skip to content

Commit

Permalink
doc: update
Browse files Browse the repository at this point in the history
  • Loading branch information
fatedier committed Apr 19, 2016
1 parent 0b9d823 commit d7797cb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ frp is under development and you can try it with latest release version.Master b

## 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](doc/pic/architecture.png)
![architecture](/doc/pic/architecture.png)

## Contributing

Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

## 贡献代码

Expand Down
2 changes: 1 addition & 1 deletion doc/quick_start_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ use_encryption = true

## 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.

Expand Down
2 changes: 1 addition & 1 deletion doc/quick_start_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ use_encryption = true

## 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]

Expand Down

0 comments on commit d7797cb

Please sign in to comment.