Skip to content

Commit

Permalink
nginx架构和安装
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayZhu1024 committed Jul 3, 2024
1 parent 0416e65 commit 21b8a53
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nginx/5.nginx的常见模块.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,16 @@ error_page 500 502 503 504 /50x.html;

```
## 自定义错误日志
```bash
Syntax: error_log file [level];
Default:
error_log logs/error.log error;
Context: main, http, mail, stream, server, location
level: debug, info, notice, warn, error, crit, alert, emerg
#关闭错误日志
error_log /dev/null;
```

0 comments on commit 21b8a53

Please sign in to comment.