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. Pull the image 2. Create a l...
I read many tutorials, but found that I could nev...
I took the bus to work a few days ago. Based on m...
A jQuery plugin every day - jQuery plugin to impl...
Table of contents 1. Introduction Second practice...
Table of contents 1. Common function classificati...
After installing a centos8 service under vmware a...
Before talking about CSS priority, we need to und...
The following is a bar chart using Flex layout: H...
Table of contents 1. Concept 1.1 What are errors ...
This article shares the specific code of Vue.js f...
This article is just to commemorate those CSS que...
I feel that the explanation of this.$set on the I...
Environment: CentOS 7 Official documentation: htt...
The party that creates a new connection is equiva...