【发布时间】:2020-08-18 07:36:38
【问题描述】:
我正在尝试在我的本地设置上缓存 Varnish ESI。
我确实创建了一个名为 index.html 的示例 html 文件。
<html>
<body>
<h1>Hello!!~~</h1>
<esi:include src="http://noshitdebian.local/paa.txt"/>
<esi:include src="footer.txt"/>
</body>
</html>
第一个 ESI 标记将来源到我的另一个本地服务器,而第二个 ESI 标记源在我的网络服务器中本地存在。
This is the response I got, 404 on the remote and successful for local
看起来清漆在定义的后端服务器上处理请求,这是日志。
我的 ESI 清漆 VCL 代码。 https://pastebin.com/kaVmrXqw
如何告诉 varnish 在远程服务器上查找该资源?
【问题讨论】:
标签: linux varnish varnish-vcl sysadmin varnish-4