Wrong project addresse when using apache instead of nginx

Hi! Just looking for an answer for a little problem I have. Quickly googled it and found that which doesn’t give me a really interesting answer:

http://serverfault.com/questions/622372/using-gitlab-behind-apache-proxy-all-generated-urls-are-wrong

And actually my problem is quite simple and don’t know how to solve it “definetly”. Project url are wrong, like this one :

http://host:8080/User/Project.git

and of course it’s the wrong one because of the apache proxy and the good url should be

http://host/User/Project.git

Thanks.