nginx redirecting to wrong port
jodok at lovelysystems.com
Fri Apr 4 17:31:59 MSD 2008
nginx runs behind a big-ip loadbalancer. the load-balancer accepts
connections on port 80, but connects to nginx on port 8080.
whenever i request a directory without trailing slash, nginx redirects
to the directory with slash, but on the wrong port.
http://www.mysite.com/directory -> http://www.mysite.com:8080/directory.
any idea how to tell nginx, that the port is 80?
"Beautiful is better than ugly."
-- The Zen of Python, by Tim Peters
Jodok Batlogg, Lovely Systems GmbH
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
mobile: +43 664 9636963, phone: +43 5572 908060
More information about the nginx