I'm using nginx with varnish as the reverse proxy, which listen to port 8080 and port 80 repectively.
And the URL is rewritten to "www.domainname.com:8080" when i access my q2a site. However, i expect "www.domainname.com:80" since the varnish listen port 80;
I checked the configuration file of q2a, and there's no explicit declaration to use port 8080;
I also checked the .htaccess under q2a installation directory, neither there is any thing related to port 8080;
I wonder why this happens. Thanks.