{"action":"created","issue":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1165","repository_url":"https://api.github.com/repos/nexcess/magento-turpentine","labels_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1165/labels{/name}","comments_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1165/comments","events_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1165/events","html_url":"https://github.com/nexcess/magento-turpentine/issues/1165","id":151344719,"number":1165,"title":"Although Turpentine is installed and configured correctly, Varnish wouldn't work with Magento","user":{"login":"linhvh","id":13230680,"avatar_url":"https://avatars.githubusercontent.com/u/13230680?v=3","gravatar_id":"","url":"https://api.github.com/users/linhvh","html_url":"https://github.com/linhvh","followers_url":"https://api.github.com/users/linhvh/followers","following_url":"https://api.github.com/users/linhvh/following{/other_user}","gists_url":"https://api.github.com/users/linhvh/gists{/gist_id}","starred_url":"https://api.github.com/users/linhvh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linhvh/subscriptions","organizations_url":"https://api.github.com/users/linhvh/orgs","repos_url":"https://api.github.com/users/linhvh/repos","events_url":"https://api.github.com/users/linhvh/events{/privacy}","received_events_url":"https://api.github.com/users/linhvh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T09:50:30Z","updated_at":"2016-04-27T13:34:17Z","closed_at":null,"body":"Hi, i have done exactly the steps for installing and configuring Turpentine to make Varnish works with Magento. \r\nI use host CentOS 6 on Amazon EC2. My webserver is NGINX. I have installed LEMP stack, Magento, Varnish and Turpentine. Below is the information of the versions i installed:\r\n- NGINX version: 1.0.15\r\n- Magento CE 1.9.1.0 with sample data\r\n- Varnish version: 3.0.7\r\n- Turpentine version: 0.6.9\r\n\r\nThe NGINX webserver is running on port 8080, and Varnish is running on port 80 to make it works together.\r\nWhen the Turpentine is not installed yet, I check the HTTP header from my Magento site and receive the response header below:\r\n![1](https://cloud.githubusercontent.com/assets/13230680/14848298/36a28476-0c97-11e6-9fab-a999200713f2.jpg)\r\nWhen the Turpentine is installed and configured correctly from the instructions (after configuring, I press the Apply Varnish Config button), I check the HTTP header again and receive the response header below:\r\n![2](https://cloud.githubusercontent.com/assets/13230680/14848438/db8c640c-0c97-11e6-93fa-0b64144f4931.jpg)\r\nFrom this response header it seems that Varnish won't work with Magento, so why couldn't it work and how to fix it? Please help me, i need to fix this problem this week. If you need any information about my server, please tell me. Thank you so much!!!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/comments/215084340","html_url":"https://github.com/nexcess/magento-turpentine/issues/1165#issuecomment-215084340","issue_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1165","id":215084340,"user":{"login":"aricwatson","id":7072513,"avatar_url":"https://avatars.githubusercontent.com/u/7072513?v=3","gravatar_id":"","url":"https://api.github.com/users/aricwatson","html_url":"https://github.com/aricwatson","followers_url":"https://api.github.com/users/aricwatson/followers","following_url":"https://api.github.com/users/aricwatson/following{/other_user}","gists_url":"https://api.github.com/users/aricwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/aricwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aricwatson/subscriptions","organizations_url":"https://api.github.com/users/aricwatson/orgs","repos_url":"https://api.github.com/users/aricwatson/repos","events_url":"https://api.github.com/users/aricwatson/events{/privacy}","received_events_url":"https://api.github.com/users/aricwatson/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T13:34:17Z","updated_at":"2016-04-27T13:34:17Z","body":"Remember that the first request gets passed through to magento (if you're using the \"VCL fix\") - so you may always be getting this 'first request' behavior if you're testing from the command line and looking at headers. Try testing from the browser and reload the page. "}}