{"action":"created","issue":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1014","labels_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1014/labels{/name}","comments_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1014/comments","events_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1014/events","html_url":"https://github.com/nexcess/magento-turpentine/issues/1014","id":117079870,"number":1014,"title":"Adding/Changing http headers in Magento backend","user":{"login":"ADDISON74","id":8360474,"avatar_url":"https://avatars.githubusercontent.com/u/8360474?v=3","gravatar_id":"","url":"https://api.github.com/users/ADDISON74","html_url":"https://github.com/ADDISON74","followers_url":"https://api.github.com/users/ADDISON74/followers","following_url":"https://api.github.com/users/ADDISON74/following{/other_user}","gists_url":"https://api.github.com/users/ADDISON74/gists{/gist_id}","starred_url":"https://api.github.com/users/ADDISON74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADDISON74/subscriptions","organizations_url":"https://api.github.com/users/ADDISON74/orgs","repos_url":"https://api.github.com/users/ADDISON74/repos","events_url":"https://api.github.com/users/ADDISON74/events{/privacy}","received_events_url":"https://api.github.com/users/ADDISON74/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nexcess/magento-turpentine/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T09:12:50Z","updated_at":"2015-11-19T19:57:43Z","closed_at":null,"body":"At the end of generated VCL file there are a lot unset statements. For misleading basic visitors, or those who are evaluating our website I am setting up some fake headers. The only way to do this is editing the generated VCL file. But when I am doing some changes in backend and saving the file, these changes are gone. \r\n\r\nHere is Turpentine default:\r\n\r\nunset resp.http.X-Varnish;\r\nunset resp.http.Via;\r\n<strong>unset resp.http.X-Powered-By;</strong>\r\n<strong>unset resp.http.Server;</strong>\r\nunset resp.http.X-Turpentine-Cache;\r\nunset resp.http.X-Turpentine-Esi;\r\nunset resp.http.X-Turpentine-Flush-Events;\r\nunset resp.http.X-Turpentine-Block;\r\nunset resp.http.X-Varnish-Session;\r\nunset resp.http.X-Varnish-Host;\r\nunset resp.http.X-Varnish-URL;\r\nunset resp.http.X-Varnish-Set-Cookie;\r\n\r\n... and here is mine:\r\n\r\nunset resp.http.X-Varnish;\r\nunset resp.http.Via;\r\n<strong>set resp.http.X-Powered-By = \"HHVM\"</strong>;\r\n<strong>set resp.http.Server = \"Lightspeed\" </strong>;\r\nunset resp.http.X-Turpentine-Cache;\r\nunset resp.http.X-Turpentine-Esi;\r\nunset resp.http.X-Turpentine-Flush-Events;\r\nunset resp.http.X-Turpentine-Block;\r\nunset resp.http.X-Varnish-Session;\r\nunset resp.http.X-Varnish-Host;\r\nunset resp.http.X-Varnish-URL;\r\nunset resp.http.X-Varnish-Set-Cookie;\r\n\r\nCould you please allow editing this in backend and having them in place with every save of the file?\r\n\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/comments/158178021","html_url":"https://github.com/nexcess/magento-turpentine/issues/1014#issuecomment-158178021","issue_url":"https://api.github.com/repos/nexcess/magento-turpentine/issues/1014","id":158178021,"user":{"login":"ADDISON74","id":8360474,"avatar_url":"https://avatars.githubusercontent.com/u/8360474?v=3","gravatar_id":"","url":"https://api.github.com/users/ADDISON74","html_url":"https://github.com/ADDISON74","followers_url":"https://api.github.com/users/ADDISON74/followers","following_url":"https://api.github.com/users/ADDISON74/following{/other_user}","gists_url":"https://api.github.com/users/ADDISON74/gists{/gist_id}","starred_url":"https://api.github.com/users/ADDISON74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADDISON74/subscriptions","organizations_url":"https://api.github.com/users/ADDISON74/orgs","repos_url":"https://api.github.com/users/ADDISON74/repos","events_url":"https://api.github.com/users/ADDISON74/events{/privacy}","received_events_url":"https://api.github.com/users/ADDISON74/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T19:57:43Z","updated_at":"2015-11-19T19:57:43Z","body":"Thank you @aricwatson. I will follow as you recommended. It should work. Coming back to you with a feedback."}}