Re: File Checking Rewriting and Handing off to Back End

2013-11-08 Thread Francis Daly
On Fri, Nov 08, 2013 at 05:51:36AM -0600, David Legg wrote: > I've been trying various things out through try_files which I think is the > right area to be looking at. Something like: > > try_files /tiles/$args_z_$args_x_$args_y.png proxy_hand_off > > Any ideas how I could do this? The argumen

Re: PHP via FastCGI in / and sub-directory location w/ different roots

2013-11-08 Thread Francis Daly
On Thu, Nov 07, 2013 at 11:37:22AM +0100, Thilo-Alexander Ginkel wrote: Hi there, > I am currently somewhat stuck getting the following setup up and running: I've tried to replicate what you're doing, and it turns out I'm unable to work out what exactly you're doing. > I have one PHP web applic

File Checking Rewriting and Handing off to Back End

2013-11-08 Thread David Legg
Hi All, We're starting to make more and more heavy use of Nginx having shifted from Apache, mostly in handing off to backends running Puma and php-fpm. However, wherever possible we naturally want Nginx to serve what it can with only the bare minimum hitting the back end. However, this generall