NGINX Internal Redirect Module: Install and Configure
by Danila Vershinin, March 8, 2026
The NGINX internal redirect module performs server-side URI rewrites in the preaccess, access, precontent, or content phases — after variables from map, geo, and auth modules are already resolved. Unlike the built-in rewrite directive, it gives you regex-based conditional routing that runs later in the request lifecycle, with support for named locations, external redirect status codes, and per-rule conditions.
Read More...NGINX map Directive: Guide to Conditional Variables
by Danila Vershinin, January 27, 2026
Learn how to use the NGINX map directive to create conditional variables for routing, rate limiting, security headers, and A/B testing. This comprehensive guide covers syntax, pattern matching, real-world examples, and performance optimization.
Read More...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 Location Priority: Complete Regex Matching Guide
by Danila Vershinin, January 24, 2026
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...Strip marketing or analytics query parameters with Varnish
by Danila Vershinin, November 12, 2016
Strip unnecessary query parameters with some Varnish VCL magick!
Read More...