Skip to main content

NGINX Server Redirect Module: Internal Routing


by Danila Vershinin, March 21, 2026

Learn how to use the NGINX server redirect module to internally route requests between virtual server blocks without triggering external HTTP redirects. This module enables conditional, unconditional, and path-based server redirection — all transparent to the client.

Read More...

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...