Nginx security. Control resources and limits.

Click for: original source

Nginx is one of the best popular webservers today. Its popularity is due to the fact that it is very fast and easy to set up. Other side of this popularity - nginx is often being a target of malicious attacks. So, if your nginx is not limited by available resources, your server may totally “fall” when nginx spent all system resources. That’s why you should control and limit resources Nginx consumed. By Vyacheslav Breus.

All limits are sets in nginx configuration file. The article gives a good advice on:

  • Global settings
  • Disk operations
  • Compression and caching
  • Security settings

In this article author described how to optimize your nginx works and gave some advices about base security improvements. Nice one!

[Read More]

Tags servers web-development infosec performance