nginx + redirect on non-standard port bugfix.