Named location explicit config

Igor Clark igor at pokelondon.com
Mon Sep 22 15:45:18 MSD 2008


Of course, I meant to type

	location ~ \.php$ {

ahem!

On 22 Sep 2008, at 12:21, Igor Clark wrote:

> Hi,
>
> Is it possible to route specific types directly to a named location  
> without using error_page?
>
> e.g.
>
> 	location \.php$ {
> 		@phpapp;
> 	}
>
> That doesn't work, but is there any way to do this?
>
> Thanks very much,
> Igor
>
> --
> Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749  
> 5355 • www.pokelondon.com
>
>
>
>

--
Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749 5355  
• www.pokelondon.com








More information about the nginx mailing list