On Sun, Dec 20, 2009 at 5:22 AM, Sean Allen <sean@monkeysnatchbanana.com> wrote:
>> Why not use clear try_files instead of these ugly maintenance if/set/rewrites:
>>
>
> because /maintenance/maintenance.html always exists.
>
> and it because the default that gets served based on the existence of
> .maintenance in the document root.
>
try_files /.maintenance $uri @fallback;
location = /.maintenance
{
.......
}
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx