How to install and configure CAPTCHA NGINX module in CentOS/RHEL

by Danila Vershinin, October 8, 2021

Step 1. Add GetPageSpeed extras YUM repository First, run the following command to add our repository: sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm Step 2. Install NGINX and CAPTCHA module Install latest stable NGINX: sudo yum -y install nginx Install the required modules: sudo yum -y install nginx-module-form-input nginx-module-set-misc nginx-module-captcha Enable installed modules Add the following at […]


Laravel NGINX configuration

by Danila Vershinin, September 28, 2021

Modern NGINX configuration for Laravel PHP framework will allow you to have a secure and performant website


NGINX: putting multiple services on the same port

by Danila Vershinin, June 21, 2021

Recent versions of NGINX introduce the TLS pre-read capabilities, which allow it to see which TLS protocols are supported by the client, the requested SNI server name, and the ALPN protocol of request. All this information, known before the request is routed by NGINX to the upstream servers, makes it possible to conditionally route requests […]


Whitelist IP addresses for Magento 2 admin protection

by Danila Vershinin, May 8, 2021

Protect Magento 2 admin area using NGINX IP address whitelisting approach. Secure your Magento 2 administration


How to install the RTMP NGINX module in Plesk for CentOS/RHEL 7 or 8

by Danila Vershinin, March 12, 2021

What is the NGINX RTMP module The RTMP module for NGINX provides HLS and MPEG-DASH live streaming capabilities for those who want a lightweight solution based on the HTTP protocol. The stream is published in the MPEG-TS format over HTTP. This makes it possible to use all the power and flexibility of nginx HTTP configurations […]


Best practice secure WordPress NGINX configuration for Plesk

by Danila Vershinin, September 18, 2020

WordPress Security WordPress is the most popular CMS for running a website. As such, it is the target for all kinds of malicious bots. The most effective way of reducing security risks associated with WordPress is the proper server configuration. Secure WordPress NGINX configuration must be built on the assumption that any unknown script is […]


Best practice secure NGINX configuration for WordPress

by Danila Vershinin, September 5, 2020

We review and approach to secure NGINX configuration for WordPress prevents launching malicious scripts and only allows core and plugin files execution


NGINX basics. How to create redirects

by Danila Vershinin, July 14, 2020

Understanding redirects in NGINX. How to create efficient redirection rules in NGINX configuration


NGINX and PHP-FPM. What my permissions should be?

by Danila Vershinin, July 13, 2020

Proper file permissions and ownership model for NGINX / PHP-FPM powered websites. The secure chmod and shown setup


NGINX Security Headers, the right way

by Danila Vershinin, May 31, 2020

How to add NGINX security headers without configuration pitfalls and in a consistent way that will make your website safe for visitors