Welcome! Log In Create A New Profile

Advanced

Generating redirects to internal named locations

Dave Hayes
August 07, 2011 05:20PM
Greetings nginx gurus. :) Is there a better way to generate a redirect
to a named location than this?

location @perl {
fastcgi...
}
...
location ~ \.pl$ {
try_files /this_should_never_exist @perl;
}

Thanks in advance for any insight.
--
Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org
>>> 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.


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Generating redirects to internal named locations

Dave Hayes August 07, 2011 05:20PM

Re: Generating redirects to internal named locations

Alexandr Gomoliako August 07, 2011 06:08PM

Re: Generating redirects to internal named locations

Dave Hayes August 07, 2011 11:58PM

Re: Generating redirects to internal named locations

Alexandr Gomoliako August 08, 2011 12:36PM

Re: Generating redirects to internal named locations

Dave Hayes August 10, 2011 02:30AM

Re: Generating redirects to internal named locations

Paul Findlay August 10, 2011 07:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready