Welcome! Log In Create A New Profile

Advanced

Re: Maintenance Page

Francis Daly
March 30, 2012 03:40PM
On Sat, Mar 31, 2012 at 12:23:43AM +0530, trm asn wrote:

Hi there,

> I am looking for a maintenance page while working on the upstream Tomcat
> server. Below is my nginx.conf file. Is there anything wrong in this config
> , as it's not redirecting to the maintenance.html page.

This config seems to work for me.

When the appropriate maintenance.html is present, a request for /echo/foo
returns 503 and the maintenance content; otherwise, the request returns
the upstream response for /echo/foo.

What responses do you get from

curl -i http://report-int.example.com/echo/foo

when /var/www/example.com/maintenance.html is present, and is not present?

(And is there anything unusual in the output of "nginx -V" and "nginx
-v"?)

f
--
Francis Daly francis@daoine.org

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

Maintenance Page

trm asn March 30, 2012 02:54PM

Re: Maintenance Page

Francis Daly March 30, 2012 03:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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