NGINX: try_files is evil too


by Danila Vershinin, February 18, 2020

The if directive in NGINX is evil. How about try_files?

Read More...

NGINX locations: performance impact and optimizations


by Danila Vershinin, December 12, 2019

NGINX location and rewrite directives. What are the best practices?

Read More...

Protect your signup forms from SPAM with NGINX and CleanTalk


by Danila Vershinin, September 6, 2019

Suppose you’re running Mautic on CentOS 7 machine. You’ve created a signup form and placed it on the front page of your website. The form is very simple: an input for an email address and Subscribe button. Bots are hitting it hard. They submit email addresses to your form, your database of subscribers have lots […]

Read More...

NGINX and phpMyAdmin. When you have to…


by Danila Vershinin, August 18, 2019

The phpMyAdmin is the famous web client for MySQL databases. However, being an open-source product, it is subject to security vulnerabilities. The best thing is not using it at all. All the modern MySQL GUI clients support connecting via SSH tunneling. So you don’t have to open MYSQL port for outside. Neither you expose the […]

Read More...

NGINX vs PHP-FPM: No input file specified


by Danila Vershinin, June 16, 2019

NGINX vs PHP-FPM: No input file specified. Or how to deal with 404s of missing PHP scripts

Read More...

Where compilation went wrong…


by Danila Vershinin, June 13, 2019

How compilation can go wrong when you neglect some details. Battle of compilation vs packaged NGINX installations.

Read More...

How to install latest stable NGINX on CentOS/RHEL 8 properly


by Danila Vershinin,

How to install latest stable NGINX in CentOS 8 or RHEL 8 based distributions, using prebuilt packages

Read More...

How to install Google PageSpeed (ngx_pagespeed) module for NGINX in CentOS/RHEL 8


by Danila Vershinin, May 18, 2019

Here’s a complete guide on how to install the Google PageSpeed (ngx_pagespeed) module for NGINX in CentOS/RHEL 8

Read More...

Faster Web Server Stack Powered by Unix Sockets and PROXY protocol


by Danila Vershinin, May 15, 2019

How to leverage UDS and PROXY protocol in your single server web stack

Read More...

Upgrade to GeoIP2 with NGINX on CentOS/RHEL


by Danila Vershinin,

How to install and use the GeoIP2 NGINX module on CentOS/RHEL 6, 7, 8. Simple instructions for using the latest MaxMind GeoIP2 databases in NGINX

Read More...