This document summarizes Denis Zhdanov's presentation on optimizing and securing Nginx configurations. Some key points include:
- Nginx is more scalable than Apache because it uses an event-driven model instead of preforking separate processes per request.
- Locations, variables, and directives like proxy_pass, root, and alias allow complex routing and rewriting of requests. Care must be taken to avoid security issues when passing variables to backends.
- Caching can be optimized for large static files and many small files through tuning buffers, caches, and disk settings.
- Light DDoS attacks can be mitigated using rate limiting, geo blocking, and aggressive caching