[PATCH] HTTP: add internal_redirect directive.
mdounin at mdounin.ru
Fri Nov 18 04:22:29 UTC 2022
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
Discussions about adding the "goto" directive date back to at
least 2009. Igor's and my position on this are summarized here:
Hope this helps.
More information about the nginx-devel