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
Table of contents 1. System environment 2. Operat...
Table of contents 1. Create a Hadoop directory in...
Problem description: After executing docker run -...
Database MySQL version 8.0.18 Download a DBeaver....
This article shares the specific code of JavaScri...
The establishment of MySQL index is very importan...
Table of contents 1. Implementation process 2. Di...
What is JSX JSX is a syntax extension of Javascri...
Table of contents background Solution 1: Back up ...
Record the BUG that got me stuck all afternoon to...
Among classic color combinations, probably no one...
Table of contents 1. Slow query configuration 1-1...
1. Vector Map Vector graphics use straight lines ...
1. Business scenario introduction Suppose there i...
I followed the tutorial on W3school. I think the t...