When calling:
$this->get('router')->generate('...',array(),true)
To get an absolute URL from a controller I get a URL with default Port 80: https://subdomain.mydomain.com:80
How can I get rid of the :80? This only happens in production. On my local machine I don't get the default port in the absolute URL.
Production environment uses a reverse proxy (nginx:443->varnish->apache:80) The local apache server port is 80 but should be the remote Port 443.