[PATCH] HTTP: add internal_redirect directive.

Maxim Dounin mdounin at mdounin.ru
Fri Nov 18 04:22:29 UTC 2022


Hello!

On Thu, Nov 17, 2022 at 11:25:19PM +0000, Aleksei Bavshin via nginx-devel wrote:

> The directive in question provides direct access to the 
> ngx_http_internal_redirect/ngx_http_named_location APIs, 
> allowing to simplify and optimize several real-life 
> configurations where the modules should be executed multiple 
> times/in a different order/with a different configuration/etc, 
> sometimes based on a condition evaluated during the request 
> processing.

No, thanks.

Discussions about adding the "goto" directive date back to at 
least 2009.  Igor's and my position on this are summarized here:

https://mailman.nginx.org/pipermail/nginx-ru/2017-April/059736.html

Hope this helps.

-- 
Maxim Dounin
http://mdounin.ru/



More information about the nginx-devel mailing list