"down for maintenance" plugin?

Phillip B Oldham phill at theactivitypeople.co.uk
Mon Feb 16 15:21:52 MSK 2009


Does that work for all vhosts on the box? or do you have to add it into 
each vhost config?  

Atif Ghaffar wrote:
> We use this in the server section
>
>   if (-f /srv/www/maintenance.html) {
>                 rewrite ^/(.*)$ /maintenance.html last;
>                 break;
>             }
>
> On Mon, Feb 16, 2009 at 11:30 AM, Phillip B Oldham 
> <phill at theactivitypeople.co.uk <mailto:phill at theactivitypeople.co.uk>> 
> wrote:
>
>     I seem to remember there was a plugin for nginx would bypass all
>     requests and issue a single "down for maintenance" response, until
>     a certain file was removed/renamed.
>
>     I can't find it on the wiki though. Was I imagining the plugin?
>     -- 
>
>     *Phillip B Oldham*
>     The Activity People
>     phill at theactivitypeople.co.uk <mailto:phill at theactivitypeople.co.uk>
>
>     ------------------------------------------------------------------------
>
>     *Policies*
>
>     This e-mail and its attachments are intended for the above named
>     recipient(s) only and may be confidential. If they have come to
>     you in error, please reply to this e-mail and highlight the error.
>     No action should be taken regarding content, nor must you copy or
>     show them to anyone.
>
>     This e-mail has been created in the knowledge that Internet e-mail
>     is not a 100% secure communications medium, and we have taken
>     steps to ensure that this e-mail and attachments are free from any
>     virus. We must advise that in keeping with good computing practice
>     the recipient should ensure they are completely virus free, and
>     that you understand and observe the lack of security when
>     e-mailing us.
>
>     ------------------------------------------------------------------------
>
>
>
>
> -- 
> best regards
> Atif Ghaffar

-- 

*Phillip B Oldham*
The Activity People
phill at theactivitypeople.co.uk <mailto:phill at theactivitypeople.co.uk>

------------------------------------------------------------------------

*Policies*

This e-mail and its attachments are intended for the above named 
recipient(s) only and may be confidential. If they have come to you in 
error, please reply to this e-mail and highlight the error. No action 
should be taken regarding content, nor must you copy or show them to anyone.

This e-mail has been created in the knowledge that Internet e-mail is 
not a 100% secure communications medium, and we have taken steps to 
ensure that this e-mail and attachments are free from any virus. We must 
advise that in keeping with good computing practice the recipient should 
ensure they are completely virus free, and that you understand and 
observe the lack of security when e-mailing us.

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090216/86f62e58/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phill.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090216/86f62e58/attachment.vcf>


More information about the nginx mailing list