Skip to main content

NGINX Rewrite Rules: The Complete Guide to URL Rewriting


by Danila Vershinin, January 25, 2026

Master NGINX rewrite rules and URL rewriting with this comprehensive guide. Learn the difference between return and rewrite directives, capturing groups, rewrite flags, and real-world SEO migration scenarios with tested configurations.

Read More...

NGINX CORS Configuration: The Complete Guide


by Danila Vershinin, January 24, 2026

Learn how to properly configure CORS in NGINX with this comprehensive guide. Discover why most tutorials are wrong, understand the critical `always` parameter, handle preflight requests, and implement production-ready configurations for credentials and multiple origins.

Read More...

NGINX Location Priority: Complete Regex Matching Guide


by Danila Vershinin,

Master NGINX location priority and regex matching. Learn how =, ^~, ~, and ~* modifiers work, understand the matching algorithm from NGINX source code, avoid common security pitfalls, and use tools like Gixy to validate your configuration.

Read More...

NGINX Rate Limiting: The Complete Guide


by Danila Vershinin, January 22, 2026

Learn how to configure NGINX rate limiting using the leaky bucket algorithm. This comprehensive guide covers limit_req_zone, burst, nodelay, delay parameters, whitelisting IPs, and production-ready configurations to protect your server from DDoS attacks, API abuse, and brute force attempts.

Read More...

NGINX TLS 1.3 Hardening: A+ SSL Configuration Guide


by Danila Vershinin, January 21, 2026

Learn how to configure NGINX for maximum TLS security with TLS 1.3, achieve an A+ SSL Labs rating, and use tools like Gixy for automated security validation. Complete guide with tested configurations for RHEL 9, Rocky Linux, and AlmaLinux.

Read More...

Using the OWASP Core Rule Set with the NGINX Security Module


by Danila Vershinin, January 18, 2026

Learn how to install and configure the OWASP Core Rule Set (CRS) with NGINX ModSecurity on Rocky Linux, AlmaLinux, and RHEL 9. Protect your web applications from SQL injection, XSS, remote code execution, and other OWASP Top 10 attacks with this comprehensive WAF configuration guide.

Read More...

Linux setfacl Command: Complete Guide to ACL Permissions for Read-Only Users and Beyond


by Danila Vershinin,

Learn how to use the Linux setfacl command to add read-only users to directories, configure recursive ACL permissions, and set default ACLs for new files. This comprehensive guide covers everything from basic syntax to advanced use cases for enterprise-grade access control.

Read More...

How to install the ModSecurity NGINX module in Rocky Linux/AlmaLinux/RHEL 9


by Danila Vershinin, January 25, 2025

Here’s how to easily install ModSecurity for NGINX in Rocky Linux/AlmaLinux/RHEL 9

Read More...

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.

Read More...

WordPress Security Checklist


by Danila Vershinin, September 7, 2022

Secure your WordPress installation with this security checklist from changing wp-content URLs to a secure NGINX configuration

Read More...