I'm running a nginx installation on webfaction, and it's long bothered me that URL rewrites/redirects in nginx included the port number in the resulting host.
For example, if you had this piece of config
server {
listen 1001;
server_name foo.com;
location = / {
rewrite ^.*$ /under_construction redirect;
}
}
a hit on ...