ERPNext with Squid3 Reverse Proxy


I try to run ERPNext with a squid3 reverse proxy but it won´t work. Is there any tutorial or configuration guideline to enable the production environment of erpnext to run behind a reverse proxy and remap the urls?

So the local erpnext server has and the external ip of the squid proxy has an A Record of I want to remap the to the

Can anyone point me to the right direction?

Thanks, Michael