hi, is there a way to use nginx to publish the maintenance file
Vitaly Tskhovrebov
vt at chgk.info
Wed Mar 23 18:39:07 MSK 2011
On 3/23/2011 6:35 PM, Space Lee wrote:
> I have a question, if I want to use nginx to main the maintenance file, and what's the easiest way for me to change a web to maintained status when it's in emergency?
try_files /www/maintenance.html $uri $uri/
It will be better to return 503 in that case as well.
--
Regards, Vitaly Tskhovrebov
System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035
More information about the nginx
mailing list