Welcome! Log In Create A New Profile

Advanced

Re: Possible bug with -f test

June 10, 2010 02:55PM
Igor Sysoev Wrote:
-------------------------------------------------------
> The bug is in "alias/if" combination. "root"
> should work:
>
> location ~ \.html$ {
> root /tmp;
> ...
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>

Cool, it does work with "root" instead of "alias". I had tried that, but wasn't sure if it was a safe alternative because of the warning from Dave Cheney on this page:

http://serverfault.com/questions/23157/setting-expires-headers-for-static-content-served-from-nginx
Subject Author Posted

Possible bug with -f test

bkirkbri June 10, 2010 01:56PM

Re: Possible bug with -f test

Igor Sysoev June 10, 2010 02:36PM

Re: Possible bug with -f test

bkirkbri June 10, 2010 02:55PM

Re: Possible bug with -f test

Igor Sysoev June 10, 2010 03:16PM

Re: Possible bug with -f test

bkirkbri June 10, 2010 05:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
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