Ok found it. Sorry. server_name_in_redirect off; did the trick. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,201092,201100#msg-201100