{"action":"closed","issue":{"url":"https://api.github.com/repos/h2o/h2o/issues/397","labels_url":"https://api.github.com/repos/h2o/h2o/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/h2o/h2o/issues/397/comments","events_url":"https://api.github.com/repos/h2o/h2o/issues/397/events","html_url":"https://github.com/h2o/h2o/issues/397","id":94875004,"number":397,"title":"HTTPS header blank when using FastCGI with HHVM","user":{"login":"janit","id":198965,"avatar_url":"https://avatars.githubusercontent.com/u/198965?v=3","gravatar_id":"","url":"https://api.github.com/users/janit","html_url":"https://github.com/janit","followers_url":"https://api.github.com/users/janit/followers","following_url":"https://api.github.com/users/janit/following{/other_user}","gists_url":"https://api.github.com/users/janit/gists{/gist_id}","starred_url":"https://api.github.com/users/janit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janit/subscriptions","organizations_url":"https://api.github.com/users/janit/orgs","repos_url":"https://api.github.com/users/janit/repos","events_url":"https://api.github.com/users/janit/events{/privacy}","received_events_url":"https://api.github.com/users/janit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T06:08:18Z","updated_at":"2015-07-14T07:40:14Z","closed_at":"2015-07-14T07:40:14Z","body":"I run H2O with HHVM with the following configuration: https://www.symfony.fi/entry/serving-php-on-http-2-with-h2o-and-hhvm-symfony-wordpress-drupal#gist23613082\r\n\r\nI run a tool called Bolt on it. It relies on the Symfony2 HTTPKernel component (https://github.com/symfony/HttpKernel) underneath. The component relies on headers to set and create URLs correctly (http://example.com vs. https://example.com), but it fails because the HTTPS header is blank:\r\n\r\n<img width=\"272\" alt=\"screen shot 2015-07-14 at 09 04 53\" src=\"https://cloud.githubusercontent.com/assets/198965/8667371/71c0a344-2a07-11e5-8be4-143c4976566c.png\">\r\n\r\nThe HTTPS header should be set to value \"on\" for this to work.\r\n\r\nI also tried to set the header manually using header directives: https://h2o.examp1e.net/configure/headers_directives.html\r\n\r\nI also tested setting other headers like \"X-Forwarded-Proto https\", but they failed to show up in the header dump.\r\n\r\n"}}