Skip to content

Commit dd6d60e

Browse files
committed
[dev] optimize format.
1 parent 98828f0 commit dd6d60e

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

README.CN.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@
6666

6767
## 安装
6868

69-
## 在RHEL/CentOS上安装(感谢[dvershinin](https://github.com/dvershinin)
69+
### 在RHEL/CentOS上安装(感谢[dvershinin](https://github.com/dvershinin)
7070

71-
* RHEL/CentOS 6, 7
71+
#### RHEL/CentOS 6, 7
7272

7373
在这些操作系统上,最新发布且适配最新稳定版NGINX的模块可以通过以下方式获取:
7474

7575
yum install https://extras.getpagespeed.com/release-el$(rpm -E %{rhel})-latest.rpm
7676
yum install nginx-module-flv
7777

78-
* RHEL 8
78+
#### RHEL 8
7979

8080
dnf install https://extras.getpagespeed.com/release-el$(rpm -E %{rhel})-latest.rpm
8181
sudo dnf --disablerepo=rhel-8-for-x86_64-appstream-rpms install nginx-module-flv
@@ -84,47 +84,47 @@
8484

8585
load_module modules/ngx_http_flv_live_module.so;
8686

87-
### 注意
87+
#### 注意
8888

8989
上述的配置**必须**位于`events`配置项之前,否则NGINX不能启动。
9090

9191
更新可以通过`yum update`来完成。关于其他NGINX模块的详情见[GetPageSpeed](https://www.getpagespeed.com/redhat)
9292

9393
对于其他操作系统,见下面源码编译安装的说明。
9494

95-
## 源码编译安装
95+
### 源码编译安装
9696

97-
### 注意
97+
#### 注意
9898

9999
nginx-http-flv-module包含了[nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module)所有的功能,所以**不要**将nginx-http-flv-module和[nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module)一起编译。
100100

101-
### 在Windows上
101+
#### 在Windows上
102102

103103
编译步骤请参考[Building nginx on the Win32 platform with Visual C](http://nginx.org/en/docs/howto_build_on_win32.html),不要忘了在`Run configure script`步骤中添加`--add-module=/path/to/nginx-http-flv-module`
104104

105-
### 在类Unix系统上
105+
#### 在类Unix系统上
106106

107107
下载[NGINX](http://nginx.org)和nginx-http-flv-module。
108108

109109
将它们解压到某一路径。
110110

111111
打开NGINX的源代码路径并执行:
112112

113-
#### 将模块编译进[NGINX](http://nginx.org)
113+
##### 将模块编译进[NGINX](http://nginx.org)
114114

115115
./configure --add-module=/path/to/nginx-http-flv-module
116116
make
117117
make install
118118

119119
或者
120120

121-
#### 将模块编译为动态模块
121+
##### 将模块编译为动态模块
122122

123123
./configure --add-dynamic-module=/path/to/nginx-http-flv-module
124124
make
125125
make install
126126

127-
#### 注意
127+
##### 注意
128128

129129
如果将模块编译为动态模块,那么[NGINX](http://nginx.org)的版本号**必须**大于或者等于1.9.11。
130130

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ Donate if you like this module. Many thanks to you!
6868

6969
### Install in RHEL/CentOS (Thanks [dvershinin](https://github.com/dvershinin))
7070

71-
* RHEL/CentOS 6, 7
71+
#### RHEL/CentOS 6, 7
7272

7373
For these operating systems, automatic builds of the latest release of module for the latest stable NGINX are available:
7474

7575
yum install https://extras.getpagespeed.com/release-el$(rpm -E %{rhel})-latest.rpm
7676
yum install nginx-module-flv
7777

78-
* RHEL 8
78+
#### RHEL 8
7979

8080
dnf install https://extras.getpagespeed.com/release-el$(rpm -E %{rhel})-latest.rpm
8181
sudo dnf --disablerepo=rhel-8-for-x86_64-appstream-rpms install nginx-module-flv
@@ -84,7 +84,7 @@ To enable this module, add the following to `/etc/nginx/nginx.conf` and reload N
8484

8585
load_module modules/ngx_http_flv_live_module.so;
8686

87-
### Note
87+
#### Note
8888

8989
The above setting **MUST** be located before the directive `events`, or NGINX can not be started.
9090

@@ -94,37 +94,37 @@ For other systems, follow Installation instructions in the next section.
9494

9595
### Install by compiling source code
9696

97-
### Note
97+
#### Note
9898

9999
nginx-http-flv-module has all features that [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module) provides, so **DON'T** compile nginx-http-flv-module along with [nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module).
100100

101-
### On Windows
101+
#### On Windows
102102

103103
For details of build steps, please refer to [Building nginx on the Win32 platform with Visual C](http://nginx.org/en/docs/howto_build_on_win32.html), and don't forget to add `--add-module=/path/to/nginx-http-flv-module` in `Run configure script` step.
104104

105-
### On Unix-like systems
105+
#### On Unix-like systems
106106

107107
Download [NGINX](http://nginx.org) and nginx-http-flv-module.
108108

109109
Uncompress them.
110110

111111
cd to NGINX source directory & run this:
112112

113-
#### Compile the module into [NGINX](http://nginx.org)
113+
##### Compile the module into [NGINX](http://nginx.org)
114114

115115
./configure --add-module=/path/to/nginx-http-flv-module
116116
make
117117
make install
118118

119119
or
120120

121-
#### Compile the module as a dynamic module
121+
##### Compile the module as a dynamic module
122122

123123
./configure --add-dynamic-module=/path/to/nginx-http-flv-module
124124
make
125125
make install
126126

127-
#### Note
127+
##### Note
128128

129129
If the module is compiled as a dynamic module, the [NGINX](http://nginx.org) version **MUST** be equal to or greater than 1.9.11.
130130

0 commit comments

Comments
 (0)