Mastering the index Directive in Nginx: Best Practices and Optimization Tips

by Danila Vershinin, May 23, 2024

The index directive in Nginx is essential for serving default files when a directory is requested. In this guide, we explore its configuration, best practices, and security enhancements. Learn how to effectively use the index directive to improve your Nginx server’s performance and protect your website.


Protecting from the Host header vulnerability injection in NGINX

by Danila Vershinin, April 6, 2024

Discover 2 essential strategies for protecting your NGINX web applications from the Host header vulnerability injections. Learn how to secure your infrastructure against cache poisoning and other attacks related to the Host header injection.


500 Internal Server Error in NGINX: PHP-FPM and Internal Causes

by Danila Vershinin, January 25, 2024

Understanding the 500 Internal Server Error in NGINX. Essential read for anyone looking to tackle 500 internal server errors emitted by NGINX.


Optimize NGINX for High-Performance PHP Websites

by Danila Vershinin, December 19, 2023

How to tune NGINX for high-performance PHP websites. In this post, I am going to give you tips on efficient tuning of PHP-FPM pool directives


Serving Pre-compressed Brotli Files with NGINX’s brotli_static Module

by Danila Vershinin, October 10, 2023

Introduction to the Brotli compression Web performance is a crucial for any online business or service. One of the ways to improve web performance is with the compression algorithms like Gzip and Brotli. They help reduce the size of files sent over the network and save bandwidth in the process. NGINX is an extremely efficient […]


The Pitfalls of add_header in NGINX: Solving Inheritance Issues with more_set_headers

by Danila Vershinin, September 15, 2023

Discover why the commonly used add_header directive in NGINX might not be the best choice for managing HTTP headers, especially when dealing with nested configuration blocks. Learn about its limitations in handling inheritance and how the more_set_headers directive offers a robust and intuitive solution. Plus, find out how to easily install more_set_headers using GetPageSpeed RPM repositories.


Accelerate WordPress with Varnish Cache

by Danila Vershinin, March 18, 2023

Learn how to accelerate your WordPress site with Varnish and NGINX on RedHat-based systems. This article covers the steps for installing and configuring Varnish, setting up NGINX as a TLS terminator, and using the Proxy Cache Purge plugin to automatically invalidate cached pages. Speed up your site and improve the user experience with this powerful caching solution.


Free Lifetime SSL for NGINX using LetsEncrypt, without downtime

by Emily Serverwise, January 19, 2023

How to obtain a free SSL certificate from LetsEncrypt without any downtime and set it up in NGINX web server configuration.


Maximizing NGINX Performance: A Comprehensive Guide to Tuning the Backlog and net.core.somaxconn Parameters

by Emily Serverwise, December 28, 2022

Get the Most Out of Your NGINX Web Server: A Step-by-Step Guide to Tuning the Backlog and net.core.somaxconn Parameter


The epoll Connection Processing Method: A Simple Way to Enhance NGINX Performance

by Emily Serverwise, December 27, 2022

Take your NGINX server to the next level with the power of epoll. Learn how this efficient connection processing method can help your server handle high traffic and scale with ease.