I have this setup: nginx => haproxy => thin( a ruby http server )
when in maintenance mode(serving a maintenance page to end users), how
can I still access the web server so that I can do some testing first?
I want to be able to access the server via the same domain.
maybe set some magic cookie? or pass through requests from a particular
IP? Any idea?
I have this setup: nginx => haproxy => thin( a ruby http server )
when in maintenance mode(serving a maintenance page to end users), how
can I still access the web server so that I can do some testing first?
I want to be able to access the server via the same domain.
maybe set some magic cookie? or pass through requests from a particular
IP? Any idea?
You can set nginx to listen on another port. Something like: