fix varnish configuration and workflow