magento - Phoenix Varnish Cache: ESI Tag Not Remove -


i install varnish cache 4.3 on linux ngnix server , pagecache powered varnish module in magento. /etc/varnish/default.vcl

backend default { .host = "127.0.0.1"; .port = "80"; } 

this /etc/varnish/default.vcl_3.0

include "vars.vcl"; backend default {   .host = "127.0.0.1";   .port = "6081"; } backend admin {   .host = "127.0.0.1";   .port = "6081";   .first_byte_timeout = 18000s;   .between_bytes_timeout = 18000s; } acl purge {   "localhost";   "127.0.0.1"; } # purge request if (req.request == "purge") {     if (!client.ip ~ purge) {         error 405 "not allowed.";     }     ban("obj.http.x-purge-host ~ " + req.http.x-purge-host + " && obj.http.x-purge-url ~ " + req.http.x-purge-regex + " && obj.http.content-type ~ " + req.http.x-purge-content-type);     error 200 "purged."; } 

this daemon_opts is

daemon_opts="-a ${varnish_listen_address}:${varnish_listen_port} \              -f ${varnish_vcl_conf} \              -t ${varnish_admin_listen_address}:${varnish_admin_listen_port} \              -t ${varnish_ttl} \              -w ${varnish_min_threads},${varnish_max_threads},${varnish_thread_timeout} \              -u varnish -g varnish \              -s ${varnish_secret_file} \              -p esi_syntax=0*03 \              -p shm_reclen=4096 \              -s ${varnish_storage}" 

and module setting in magento admin

varnish servers  :  127.0.0.1;192.168.1.19 server port       : 6081 

my problem esi tag come in form_key comes

esi:include src='http://mydesk:6081/varnishcache/getformkey/ come in form

please see configuration file , please suggest me going wrong or suggest me full process how varnish install?.....

thanks advance........


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -