vt
March 23, 2011 11:40AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

hi, is there a way to use nginx to publish the maintenance file

fjctlzy March 23, 2011 11:36AM

Re: hi, is there a way to use nginx to publish the maintenance file

vt March 23, 2011 11:40AM

Re: hi, is there a way to use nginx to publish the maintenance file

fjctlzy April 07, 2011 04:14AM

Re: hi, is there a way to use nginx to publish the maintenance file

Pascal Nitsche April 07, 2011 04:18AM

Re: hi, is there a way to use nginx to publish the maintenance file

fjctlzy April 07, 2011 04:22AM

Re: hi, is there a way to use nginx to publish the maintenance file

Pascal Nitsche April 07, 2011 04:36AM

Re: hi, is there a way to use nginx to publish the maintenance file

fjctlzy April 07, 2011 06:42AM

Re: hi, is there a way to use nginx to publish the maintenance file

Maxim Dounin April 07, 2011 06:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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