Re: File Checking Rewriting and Handing off to Back End

2013-11-10 Thread David Legg
On 08/11/2013 22:43, "Francis Daly" wrote: >The arguments to try_files are prefixed with the current $document_root >before being sought as files (with the final argument being magic). > >So if you put your to-be-served file in the correct place, and use the >variables correctly, then it should J

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

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