Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Server 使用http响应发送Varnishinformation_Server_Typo3_Httpresponse_Varnish - Fatal编程技术网

Server 使用http响应发送Varnishinformation

Server 使用http响应发送Varnishinformation,server,typo3,httpresponse,varnish,Server,Typo3,Httpresponse,Varnish,我想用http响应发送有关varnish服务器的信息,例如图片。有办法吗? 谢谢。在这种情况下,vcl_deliver或vcl_synth Varnish 4中可读的任何信息/标题/变量都可以作为响应标题发送 sub vcl_deliver { set resp.http.X-Varnish-Server = server.ip; } 你能解释一下这和打字3有什么关系吗?

我想用http响应发送有关varnish服务器的信息,例如图片。有办法吗?
谢谢。

在这种情况下,vcl_deliver或vcl_synth Varnish 4中可读的任何信息/标题/变量都可以作为响应标题发送

sub vcl_deliver {
    set resp.http.X-Varnish-Server = server.ip;
}

你能解释一下这和打字3有什么关系吗?