Generating redirects to internal named locations

Alexandr Gomoliako zzz at
Mon Aug 8 16:34:24 UTC 2011

On 8/8/11, Dave Hayes <dave at> wrote:
> If I have several location blocks in a server block, and I want to use
> just one location block that has my fastcgi definitions for perl (hence
> @perl), are you recommending I just duplicate all the configuration
> in each location block that needs to redirect to perl?

> Did I get that right? :)

Yes, you got that right :)
Avoiding abstractions is a good thing here. Less likely to stumble on
a bug, easier to read later, etc.

More information about the nginx mailing list