illustrate: There are two main types of nginx logs: access logs and error logs. The access log records every request from the client to access nginx, including information such as user geographical origin, jump source, terminal used, number of visits to a certain URL, etc. The access log format can be customized; the error log records the log when an error occurs when the client accesses nginx. The format does not support customization. Through the error log, you can get the performance bottleneck of a certain service or server in the system. Both logs can be disabled selectively. Access log [Access.log]
Online example:
Offline test ($http_referer):
Note: $http_referer is related to redirection. Error log [Error.log]
The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: MySQL 5.5.27 winx64 installation and configuration method graphic tutorial
>>: How to generate PDF and download it in Vue front-end
What is the purpose of this sentence? Copy code Th...
What is routing? Routing refers to the activity o...
HTML operation principle: 1. Local operation: ope...
Table of contents 1. Default values for functio...
This article uses vue, and adds mouse click event...
1. InnoDB storage engine must be used It has bett...
Query the total size of all databases Here’s how:...
Table of contents JSON.parse JSON.parse Syntax re...
JS implements a hover drop-down menu. This is a s...
Today I received a disk warning notification from...
Important data must be backed up, and must be bac...
After the release of CentOS8.0-1905, we tried to ...
1. Download VMware Workstation 64 version https:/...
The target attribute of a link determines where th...
Table of contents 1. Basic Example 2. Set the sco...