fbpx

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.

Read More...

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

Read More...

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”:”0.0.0.0″, […]

Read More...

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 […]

Read More...

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.

Read More...

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.

Read More...

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.

Read More...

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.

Read More...

Secure your DNS with dnsmasq, dnscrypt-proxy and Cloudflare


by Emily Serverwise, December 30, 2022

Is your internet access being censored and your privacy violated by DNS hijacking? Learn how to use Cloudflare’s secure DNS protocol to encrypt your DNS requests and bypass censorship. Our step-by-step guide shows you how to set up and configure dnscrypt-proxy on your RHEL machine using dnsmasq and NetworkManager. Protect your online activity and access the internet freely with secure DNS.

Read More...

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

Read More...