server_name "";
Edho P Arief
edhoprima at gmail.com
Sun Dec 20 05:19:21 MSK 2009
On Sun, Dec 20, 2009 at 5:22 AM, Sean Allen <sean at 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
More information about the nginx
mailing list