官术网_书友最值得收藏!

  • Nginx Troubleshooting
  • Alex Kapranoff
  • 161字
  • 2021-07-09 19:38:16

Chapter 2. Searching for Problems in Log Files

Nginx really is a breakthrough technology powering a great part of modern Web. And as with all great technologies, it stands on the shoulders of giants. Nginx would not be possible without Apache. One very important Unix tradition that Nginx embraces fully is thorough logging.

Logs are what you turn to the moment there is a problem with your Nginx instance. For a daemon, there are not really many ways to communicate its state to the administrator in a simple, reliable, and guaranteed to work way other than logs.

You will find the following topics in this chapter:

  • A comprehensive description of how Nginx logging is configured and what mistakes could be made in the configuration
  • A special section on how to log POST request bodies
  • A section on how log rotation works and why there is some potential for problems
  • A series of real-life error records from logs with analysis
主站蜘蛛池模板: 宝应县| 怀化市| 天全县| 鄂托克旗| 扎鲁特旗| 铁力市| 福鼎市| 漳州市| 铜山县| 平潭县| 永福县| 昆山市| 麻江县| 从江县| 巢湖市| 环江| 克拉玛依市| 江山市| 金沙县| 池州市| 日喀则市| 荔波县| 芜湖县| 南木林县| 和顺县| 万州区| 湘西| 南城县| 临汾市| 寿宁县| 仁寿县| 格尔木市| 松阳县| 察隅县| 大厂| 平阳县| 宜昌市| 中江县| 炉霍县| 三穗县| 嘉禾县|