Nginx enables Gzip compression

Enable Gzip compression for your website, effectively save 30% traffic and improve access speed! Gzip is a technology for website compression acceleration. After it is enabled, it can speed up the opening speed of our website. The principle is that after the server compresses, the client browser quickly decompresses it, which can greatly reduce the website traffic. After Nginx enables the Gzip compression function, it will greatly improve nginx access performance!

Add server virtual memory SWAP under Linux system

Swap is similar to the virtual memory of Windows, but the difference is that Windows can be set under any drive letter of Windows, and the default is C drive, and can be placed in the same partition as the system files. Linux, on the other hand, occupies an independent partition, which is convenient for putting part of the content in the swap partition when the memory demand is insufficient, and continue to execute when there is free memory, also called swap partition, and swap space is part of it.

How to skip SSL certificate check in wget

By default, when you use wget to download files, wget will perform a validity check on the website's SSL certificate. Because SSL itself relies on the validity and verification of the certificate. Sometimes, you may want to bypass it. For example, when using wget to try to access a website with an expired SSL certificate or a website with a self-signed certificate.

NextCloud installation under Nginx fails to upload and prompts insufficient space

NextCloud was installed quickly on the server, and the server environment was centos7+php7.4.3+nginx+mysql. Since it was installed manually before, something strange happened after NextCloud was installed. Everything worked well, except for uploading. When I clicked upload, it prompted that there was insufficient space. I thought it was a problem with the PHP extension!