Nginx: Maintenance page and localhost access
Posted
by ian.evans
on Server Fault
See other posts from Server Fault
or by ian.evans
Published on 2010-05-22T02:51:52Z
Indexed on
2010/05/22
3:02 UTC
Read the original article
Hit count: 295
nginx
As I prepare to test some changes, I thought I'd set up a maintenance page block so I could do the testing.
Just realized though that the maintenance block examples for nginx take the site down for everyone.
How do you serve the maintenance page to visitors will still allowing localhost access.
Should I just create a new server block listening on another port and deny all, allow 127.0.0.1?
© Server Fault or respective owner