"down for maintenance" plugin?
Atif Ghaffar
atif.ghaffar at gmail.com
Mon Feb 16 21:35:15 MSK 2009
igor will try_files also work with 0.6.x?
On Mon, Feb 16, 2009 at 1:23 PM, Igor Sysoev <is at rambler-co.ru> wrote:
> On Mon, Feb 16, 2009 at 12:04:38PM +0100, Atif Ghaffar wrote:
>
> > We use this in the server section
> >
> > if (-f /srv/www/maintenance.html) {
> > rewrite ^/(.*)$ /maintenance.html last;
> > break;
> > }
>
> location / {
> try_files /maintenance.html
> $uri $uri/index.html $uri.html
> @mongrel;
> }
>
> location @mongrel {
> proxy_pass http://mongrel;
> }
>
> > On Mon, Feb 16, 2009 at 11:30 AM, Phillip B Oldham <
> > 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?
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>
--
best regards
Atif Ghaffar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090216/1adaee1b/attachment.html>
More information about the nginx
mailing list