What is Brotli? Here is a quote from Google:
Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman ...
The best way to prevent sql injection is to filter out all the data submitted to the background.
For simple cases, such as including single quotes ', semicolon;, <, >, and other char...
Regular nginx installation geoip2 module can also refer to this article.Just pay attention to the * in the article.
Because nginx is already installed through the panel, We ignore the intr...
How to install aria2?
centos7 use :
[crayon-672bfbea585df096483683/]
debian use :
[crayon-672bfbea585e2635491324/]
How to install aria2 in centos 6.X ?
If you’ve already tried...
Sometimes when you request some interfaces, you need to return the specified text string or json string. If it is a simple logic or a fixed string, you can use nginx to implement it quickly, so you...
When the PC and mobile phones need to access different domain names, we can distinguish different clients through Nginx.
By adding a jump to the Nginx configuration file, use user-agent to determi...
Sometimes because of the demand, we need to distinguish between the PC side and the mobile side of the visitor.
Here are a few simple ways to introduce:
Nginx Block mobile access:
[crayon...
Foreword:
Through the log, you can know the user's address, which parts of your website are most popular, the user's browsing time, and targeted optimization for most users' browsers.
Nginx's l...
1.stub_status Module installation
Use the command first to check if this module has been installed:
[crayon-672bfbea58ca7003030298/]
Uppercase -V will display information such as ver...
This article is a supplement to the previous article:
Optimization reference for Nginx in high concurrency scenarios
Optimization of kernel parameters in the /etc/sysctl.conf file
1.net.ipv4...