Welcome! Log In Create A New Profile

Advanced

Re: File Checking Rewriting and Handing off to Back End

November 10, 2013 06:10PM
On 08/11/2013 22:43, "Francis Daly" <francis@daoine.org> 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 Just Work.
>
> try_files /tiles/${arg_z}_${arg_x}_${arg_y}.png @fallback;
>
>You might want to wrap that in a "location = /data {}" block.


Yep, that¹s exactly what I¹m looking for and it¹s working fine. I don¹t
think I had the syntax in the arguments quite correct. It¹s not just a
question of playing about with the location as to where things will be.

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

File Checking Rewriting and Handing off to Back End

vindobala November 08, 2013 06:54AM

Re: File Checking Rewriting and Handing off to Back End

Francis Daly November 08, 2013 05:44PM

Re: File Checking Rewriting and Handing off to Back End

vindobala November 10, 2013 06:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 98
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready