I am using Apache and Varnish installed. I have a problem when accessing my subfolder homepage without trailing slash at the end of URL, it redirect to :8080.
That will redirect to http://www.example.com:8080/subfolder/
But if I access http://www.example.com/subfolder/ It loads just fine.
I read to resolve this issue for NGINX user is only add port_in_redirect off;
How to resolve it in Apache?