If you have an NGINX site that must allow users to upload files, try this configuration to help prevent possible Denial-of-Service attacks. Out of the box, NGINX sets a limit of 1MB for file uploads.
If you’re looking to gain a bit more performance out of your NGINX web server, Jack Wallen shows you how with the help of gzip compression. NGINX is an outstanding, open source web server. It’s easy ...