Welcome! Log In Create A New Profile

Advanced

Re: try_files and index

June 26, 2012 03:18AM
I'm afraid I have to disagree on this. That was my guess before I tried that too. Here's the relevant part of the log for my first configuration, with `try_files $uri =404` only:

2012/06/25 21:34:22 [debug] 30604#0: *335710 open index "/var/index.html"
2012/06/25 21:34:22 [debug] 30604#0: *335710 stat() "/var/index.html" failed (
2: No such file or directory)

And btw, this is on Nginx 1.2 64bit (Ubuntu). Why is it happening?
Subject Author Posted

try_files and index

whiskybar June 25, 2012 07:00PM

Re: try_files and index

Edho Arief June 25, 2012 09:48PM

Re: try_files and index

whiskybar June 26, 2012 03:18AM

Re: try_files and index

Edho Arief June 26, 2012 03:24AM

Re: try_files and index

shahzaib mushtaq June 26, 2012 03:34AM

Re: try_files and index

Maxim Dounin June 26, 2012 03:32AM

Re: try_files and index

whiskybar June 26, 2012 03:47AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 47
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready