Francis Daly
October 23, 2011 07:34PM
On Sun, Oct 23, 2011 at 04:13:37PM -0400, TECK wrote:

Hi there,

> I'm trying to call a location of this format:
>
> location = /somedir/file1.php {
> try_files @cache =404;
> }

Only the last parameter of try_files is "magic". Any others that start
with @ or = will probably not do what you want.

> For some reason is not working, can you please let me know what is the
> proper syntax?

It's not immediately clear what it is that you want, that is different
from "include fastcgi.conf" at server level and "fastcgi_pass fastcgi"
in your exact-match locations.

If that isn't adequate, can you describe more?

Good luck,

f
--
Francis Daly francis@daoine.org

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

Location not called properly

TECK October 23, 2011 04:13PM

Re: Location not called properly

Francis Daly October 23, 2011 07:34PM

Re: Location not called properly

TECK October 24, 2011 07:02AM

Re: Location not called properly

Francis Daly October 24, 2011 04:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 149
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready