Gunicorn behind apache link to localhost

You're missing the reverse mapping which is precisely useful to Apache for redirection URLs rewriting. In 99% of cases, the forward and reverse mappings are the same.

Add this :

ProxyPassReverse / http://localhost:8080/

And reload Apache.