savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] Old frontend apache web server


From: Bob Proulx
Subject: Re: [Savannah-hackers-public] Old frontend apache web server
Date: Fri, 17 Feb 2017 16:09:10 -0700
User-agent: NeoMutt/20170113 (1.7.2)

Bob Proulx wrote:
> I am going to do a simple shutdown of the apache server on the old
> system.  That will prevent people accessing it and then any problems
> such as that will be found.
> 
> Should we instead put up a simple top level catchall page with a
> return of 503?  That would be simple enough to do.  I am inclined to
> do this.
> 
> Assaf, what do you think?

I went ahead and both shutdown the old Apache on the old frontend and
started up an Nginx on it with a configuration to load a simple Site
Moved page returning 503.  This can be easily changed.  But it should
at least alert people that they are at the wrong place now.

Bob

server {
        root /var/www/site-moved;
        location / {
                return 503;
        }
        location /floating.png {
                # Allow this path.
        }
        error_page 503 @moved;
        location @moved {
                rewrite .* /sitemoved.html break;
        }
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]