Hello!
I've been using Apache with the proxy_balancer module as a front-end to Tomcat. Part of my Tomcat app needs to know what port the original request came in on ($server_port). It detects this not via header, but by directly grabbing the CGI variable.
I'm trying to replace Apache with Nginx, but I've noticed that the $server_port CGI var is not passed by Nginx through to Tomcat in the proxying. Am I doing something wrong?
Thanks.
Adam