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 coding and 2nd order...
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 characters can be avoide...
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 introduction of Nginx In...
How to install aria2?
centos7 use :
[crayon-674e36d48414c485478755/]
debian use :
[crayon-674e36d48414f485944805/]
How to install aria2 in centos 6.X ?
If you’ve already tried this:
[crayon-674e...
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 don't need to write...
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 determine whether the clien...
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-674e36d484552151139...
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 logs are divided into...
1.stub_status Module installation
Use the command first to check if this module has been installed:
[crayon-674e36d4847a2262776125/]
Uppercase -V will display information such as version number and modu...
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.tcp_max_tw_buckets
...