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
Anaconda is the most popular python data science ...
Table of contents 1 Introduction 2 Prerequisites ...
1. In the control panel, uninstall all components...
Table of contents 1. Shallow cloning 2. Deep clon...
Linux file permissions First, let's check the...
Preface As a DBA, you will often encounter some M...
By applying it, some public areas of the website c...
A: Usually stored in the client. jwt, or JSON Web...
In an article a long time ago, I talked about the...
Table of contents 1. What is JSONP 2. JSONP cross...
SQL statement /* Some methods of eliminating dupl...
This article shares the specific code of Vue to a...
What is CSS# CSS (abbreviation of Cascading Style...
Table of contents MySQL Client/Server Protocol If...
The tutorial for installing OpenStack Ussuri with...