I'm trying to have a Varnish ESI caching on my local setup.
I did create a sample html file called index.html.
<html>
<body>
<h1>Hello!!~~</h1>
<esi:include src="http://noshitdebian.local/paa.txt"/>
<esi:include src="footer.txt"/>
</body>
</html>
The first ESI tag will source to my another local server while the second ESI tag source is present locally in my webserver.
This is the response I got, 404 on the remote and successful for local
It looks like varnish process the request on defined backend server, here's the log.
My varnish VCL code for ESI. https://pastebin.com/kaVmrXqw
How can I tell varnish to lookup that resource on remote server?