I'm trying to switch some stuff over to a domain running nginx. Is there a simple way to just put my ip address in the configuration for the subdomain and say "If ip is not mine, then just serve this html file. Otherwise, act like normal"?
You can tackle this by using IP based maintenance triggers
Try the following at the bottom of here: http://forum.nginx.org/read.php?2,88978,91161