J, The "HOST" http-header is correct, I am just wondering if I can modify or prevent the raw regular expression being exposed in $_SERVER['server_nam']. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241519,241522#msg-241522