Первое, что нужно сделать состоит в том, чтобы видеть, видит ли Varnish 500. Если это делает, это - или отказ Лака или отказ Вашего бэкенда. Если это не делает, можно сконцентрироваться на поиске и устранении неисправностей Фунта.
Для наблюдения, что делает Лак, когда Вы получаете 500 с используйте varnishlog:
varnishlog -co TxStatus 500
Set the remote proxy as cache_peer, using port 0 for ICP (squid only?).
cache_peer 192.168.3.75 parent 8080 0 no-query no-digest
Add an acl that matches the remote domain(s)
acl companycorp dstdomain .company.corp
never connect directly when going towards the company.corp.
never_direct allow companycorp
allow everything towards the remote proxy
cache_peer_access 192.168.3.75 allow all