Skip to content

Commit 990d43e

Browse files
authored
Update 搭建nginx+rtmp服务器.md
1 parent ceccaa0 commit 990d43e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

AdavancedPart/搭建nginx+rtmp服务器.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
3. 配置`nginx``ramp`
2222

2323
首先通过命令`brew info nginx-full`查看安装目录, 然后找到`nginx.conf`文件所在位置, 例如`/usr/local/etc/nginx/nginx.conf`
24-
25-
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/nginx_path.png?raw=true)
24+
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/nginx_path.png?raw=true)
2625

2726
打开`nginx.confg`文件后在文件的最后一行空白处添加如下代码。
27+
2828
```java
2929
rtmp {
3030
server {
@@ -37,8 +37,7 @@
3737
}
3838
```
3939
然后通过命令`[path] -s reload`重启`nginx`,我的是`/usr/local/opt/nginx-full/bin/nginx -s reload`。
40-
41-
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/nginx_reload.png?raw=true)
40+
![image](https://raw.githubusercontent.com/CharonChui/Pictures/master/nginx_reload.png?raw=true)
4241

4342
4. 安装`ffmpeg`
4443

@@ -57,4 +56,4 @@
5756
---
5857

5958
- 邮箱 :charon.chui@gmail.com
60-
- Good Luck!
59+
- Good Luck!

0 commit comments

Comments
 (0)