Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
biluohc committed Mar 7, 2020
1 parent 9338e7a commit 0411495
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build status](https://travis-ci.org/biluohc/fht2p.svg?branch=master)](https://github.com/biluohc/fht2p)
[![Actions Status](https://github.com/biluohc/fht2p/workflows/CI/badge.svg)](https://github.com/biluohc/fht2p/actions)

[中文](https://github.com/biluohc/fht2p/blob/master/readme_zh.md)

Expand Down Expand Up @@ -68,7 +68,7 @@ fht2p is a cross-platform HTTP static file server developed using Rust. The CI t
- The third is --config specifies the configuration file, the fourth option is ignored
- The fourth is other options and parameters, once you have it, the default configuration file will be ignored (this is to prevent the priority from being too complicated)

2. About security and HTTPS
5. About security and HTTPS

- HTTP is a plain text protocol based on TCP. There is no security at all. If security is required, HTTPS must be used.
- The program listens to the local loopback address (`127.0.0.1`) by default for security. If you want to access outside the machine, you can monitor` 0.0.0.0` or a specific address and configure your firewall
Expand Down
2 changes: 1 addition & 1 deletion readme_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fht2p 是使用 Rust 开发的,跨平台的 HTTP 静态文件服务器,CI测
- 第三种是 --config 指定配置文件,就会忽略第四种选项
- 第四种是 其他选项和参数,一旦有了就会忽略默认的配置文件(之所以这样是为了防止优先级太复杂)

2. 关于安全和 HTTPS
5. 关于安全和 HTTPS

- HTTP是基于TCP的明文协议,完全没有安全可言,如果需要安全性,一定要使用 HTTPS
- 为了安全,程序默认监听的是本机回环地址(`127.0.0.1`), 本机外要访问可监听 `0.0.0.0`或 特定的地址并配置防火墙
Expand Down

0 comments on commit 0411495

Please sign in to comment.