{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/52","labels_url":"https://api.github.com/repos/mholt/caddy/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/52/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/52/events","html_url":"https://github.com/mholt/caddy/issues/52","id":73258106,"number":52,"title":"Windows: factcgi /php php Bad Gateway 502","user":{"login":"Alber70g","id":516972,"avatar_url":"https://avatars.githubusercontent.com/u/516972?v=3","gravatar_id":"","url":"https://api.github.com/users/Alber70g","html_url":"https://github.com/Alber70g","followers_url":"https://api.github.com/users/Alber70g/followers","following_url":"https://api.github.com/users/Alber70g/following{/other_user}","gists_url":"https://api.github.com/users/Alber70g/gists{/gist_id}","starred_url":"https://api.github.com/users/Alber70g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alber70g/subscriptions","organizations_url":"https://api.github.com/users/Alber70g/orgs","repos_url":"https://api.github.com/users/Alber70g/repos","events_url":"https://api.github.com/users/Alber70g/events{/privacy}","received_events_url":"https://api.github.com/users/Alber70g/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mholt/caddy/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mholt/caddy/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/mholt/caddy/labels/in%20progress","name":"in progress","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-05-05T09:21:40Z","updated_at":"2015-05-07T09:32:16Z","closed_at":null,"body":"I've tried to get a php Hello World running but all I get is a 502 Bad Gateway. Markdown does actually work. \r\n\r\nCaddyfile\r\n```\r\nlocalhost:2020\r\nmarkdown /md\r\nfastcgi /php php\r\nlog access.log\r\nerrors error.log\r\n```\r\n\r\nInside /php I have `index.php` with html and php.\r\n\r\nAccess log is filling nice when navigating to `/md`. \r\nError log is empty when the 502 occurs.\r\n\r\n[edit]\r\nOr am I understanding it wrong and Caddy is only the proxy to the fastcgi server?\r\n[/edit]"},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/99793108","html_url":"https://github.com/mholt/caddy/issues/52#issuecomment-99793108","issue_url":"https://api.github.com/repos/mholt/caddy/issues/52","id":99793108,"user":{"login":"Alber70g","id":516972,"avatar_url":"https://avatars.githubusercontent.com/u/516972?v=3","gravatar_id":"","url":"https://api.github.com/users/Alber70g","html_url":"https://github.com/Alber70g","followers_url":"https://api.github.com/users/Alber70g/followers","following_url":"https://api.github.com/users/Alber70g/following{/other_user}","gists_url":"https://api.github.com/users/Alber70g/gists{/gist_id}","starred_url":"https://api.github.com/users/Alber70g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alber70g/subscriptions","organizations_url":"https://api.github.com/users/Alber70g/orgs","repos_url":"https://api.github.com/users/Alber70g/repos","events_url":"https://api.github.com/users/Alber70g/events{/privacy}","received_events_url":"https://api.github.com/users/Alber70g/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T09:32:16Z","updated_at":"2015-05-07T09:32:16Z","body":"Awesome! It's working fluently now :) Thanks a lot. I really appreciate your fast response!! Awesome!"}}