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.


Secure WordPress chmod: A Guide to correct file permissions

by Danila Vershinin, February 8, 2024

Secure your WordPress installation by setting up the correct permissions, using find and chmod commands


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


Install ShadowSocks server

by Danila Vershinin, October 21, 2023

We review installation of ShadowSocks server on a Rocky Linux 9 instance. As the first step, install our repository configuration and be sure to activate your subscription: sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm Then you can install the package: sudo dnf -y install shadowsocks-libev The configuration file path is /etc/shadowsocks/shadowsocks-libev-config.json and its contents are: { “server”:”″, […]


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.


Web Server Security and Stability: Why RHEL-Based Systems Reign Supreme

by Emily Serverwise, March 18, 2023

This article explores the strengths and weaknesses of Ubuntu and CentOS/RHEL for web server security and stability. It highlights how SELinux, FirewallD, and RHEL’s conservative approach make it a superior choice for web servers that prioritize top-notch security and stability. If you’re looking to choose between Ubuntu and CentOS/RHEL, this article provides insights to help you make an informed decision.


Accelerate WordPress with Varnish Cache

by Danila Vershinin,

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.