In this guide I will be explaining how to compile the Brotli module for Nginx, a compression algorithm developed by Google, as an alternative to GZIP and Deflate. The reason for compiling the module is that Nginx has not officially supported the open source version, and in its Nginx Plus version it is supported.
Tested with systems:
Debian 10 Buster
D
nginx
Add SVG images support and compression in Nginx
With the arrival of the SVG format (Scalable Vector Graphics) many years ago, it is necessary to configure our servers correctly to serve it in the best way. Although this is only supported in modern web browsers, using it properly will give us good benefits such as the possibility of using only one scalable version of an image instead of several
Increase size limit when uploading files PHP, Nginx and Apache
When we upload files through PHP, there are usually restrictions on the simultaneous number of them, and more than anything on the maximum size per file that we are allowed to upload. A very common default maximum size value is around 2 MB per file, and in most scenarios this is too low a value. Either using Apache or Nginx together with PHP, you