atom feed21 messages in ru.sysoev.nginxRe: RE: Custom 503 Error Page
FromSent OnAttachments
Douglas A. SeifertFeb 2, 2008 3:18 pm 
Maxim DouninFeb 2, 2008 4:36 pm 
Douglas A. SeifertFeb 2, 2008 5:08 pm 
Maxim DouninFeb 2, 2008 5:20 pm 
Eden LiFeb 2, 2008 5:22 pm 
Douglas A. SeifertFeb 2, 2008 6:14 pm 
Douglas A. SeifertFeb 2, 2008 6:15 pm 
Maxim DouninFeb 2, 2008 6:33 pm 
Eden LiFeb 2, 2008 6:47 pm 
Maxim DouninFeb 2, 2008 7:15 pm 
Douglas A. SeifertFeb 2, 2008 8:02 pm 
Corey DonohoeFeb 2, 2008 10:39 pm 
Igor SysoevFeb 2, 2008 10:40 pm 
Douglas A. SeifertFeb 3, 2008 7:51 am 
Douglas A. SeifertFeb 3, 2008 7:58 am 
Corey DonohoeFeb 3, 2008 9:59 am 
Doug SeifertFeb 3, 2008 1:36 pm 
Killian MurphyJun 19, 2009 9:47 pm 
Spirit SpiritNov 26, 2009 2:31 pm 
Igor SysoevNov 26, 2009 10:02 pm 
spiritDec 2, 2009 1:46 pm 
Subject:Re: RE: Custom 503 Error Page
From:Killian Murphy (lis@ruby-forum.com)
Date:Jun 19, 2009 9:47:13 pm
List:ru.sysoev.nginx

I tried pretty much all of the approaches outlined above without success on nginx 0.6.37 (posting this in June 2009. Get the version # using: nginx -v) The one approach I found did work was putting the following in the server section of my config files:

error_page 503 @503; location @503 { rewrite ^(.*)$ /system/maintenance.html break; }

if (-f $document_root/system/maintenance.html) { return 503; }

I found it in the internet archive, posted by Lee Jensen and credited to Ezra.

K.