I have several origin servers, and some conditions to select some. Now I’d need to know which origin server served my request, but cannot find VCL variable for this. Based on description req.backend seemed to be promising, but when I put this to response header then I see something like cluster_dir_chash_stockholm_bma, which seems to be similar to X-Served-By:cache-bma7029-BMA and is therefore useless. I’d need to get name of my origin server, something like “F_MyServer1” or IP of it.
Please sign in to leave a comment.