Generating redirects to internal named locations

Dave Hayes dave at
Sun Aug 7 21:18:25 UTC 2011

Greetings nginx gurus. :) Is there a better way to generate a redirect
to a named location than this?

  location @perl {
  location ~ \.pl$ {
      try_files /this_should_never_exist @perl;
Thanks in advance for any insight.
Dave Hayes - Consultant - Altadena CA, USA - dave at 
>>> The opinions expressed above are entirely my own <<<

A Law of Computer Programming:
  Make it possible for programmers to write in English 
  and you will find the programmers cannot write in English.

More information about the nginx mailing list