{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/190","labels_url":"https://api.github.com/repos/mholt/caddy/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/190/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/190/events","html_url":"https://github.com/mholt/caddy/issues/190","id":95754451,"number":190,"title":"Caddy support for php-fpm","user":{"login":"Nixtren","id":12203519,"avatar_url":"https://avatars.githubusercontent.com/u/12203519?v=3","gravatar_id":"","url":"https://api.github.com/users/Nixtren","html_url":"https://github.com/Nixtren","followers_url":"https://api.github.com/users/Nixtren/followers","following_url":"https://api.github.com/users/Nixtren/following{/other_user}","gists_url":"https://api.github.com/users/Nixtren/gists{/gist_id}","starred_url":"https://api.github.com/users/Nixtren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nixtren/subscriptions","organizations_url":"https://api.github.com/users/Nixtren/orgs","repos_url":"https://api.github.com/users/Nixtren/repos","events_url":"https://api.github.com/users/Nixtren/events{/privacy}","received_events_url":"https://api.github.com/users/Nixtren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-07-17T22:08:50Z","updated_at":"2015-12-02T09:38:32Z","closed_at":"2015-08-13T12:36:02Z","body":"Hi,\r\n\r\nIt seems Caddy only works with the old CGI implementation (php-cgi). If I try to use the new one (php-fpm) I only get a 502 Bad Gateway error. I have checked the active sockets, so that's not the problem.\r\n\r\nSocket: 127.0.0.1:9000 (I have also tried with the Unix Socket)\r\n\r\nI would appreciate if I could get confirmation on this, otherwise I'm doing something wrong. Thanks for the attention.\r\n\r\nP.S: Linux."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/161237471","html_url":"https://github.com/mholt/caddy/issues/190#issuecomment-161237471","issue_url":"https://api.github.com/repos/mholt/caddy/issues/190","id":161237471,"user":{"login":"wayneashleyberry","id":727262,"avatar_url":"https://avatars.githubusercontent.com/u/727262?v=3","gravatar_id":"","url":"https://api.github.com/users/wayneashleyberry","html_url":"https://github.com/wayneashleyberry","followers_url":"https://api.github.com/users/wayneashleyberry/followers","following_url":"https://api.github.com/users/wayneashleyberry/following{/other_user}","gists_url":"https://api.github.com/users/wayneashleyberry/gists{/gist_id}","starred_url":"https://api.github.com/users/wayneashleyberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayneashleyberry/subscriptions","organizations_url":"https://api.github.com/users/wayneashleyberry/orgs","repos_url":"https://api.github.com/users/wayneashleyberry/repos","events_url":"https://api.github.com/users/wayneashleyberry/events{/privacy}","received_events_url":"https://api.github.com/users/wayneashleyberry/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T09:38:32Z","updated_at":"2015-12-02T09:38:32Z","body":"@Nixtren how exactly did you run Caddy as www-data? I've also come across this problem :("}}