{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/703","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/703/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/703/events","html_url":"https://github.com/mholt/caddy/issues/703","id":144365574,"number":703,"title":"Fedora 23 + PHP-FPM","user":{"login":"ricardson","id":9008753,"avatar_url":"https://avatars.githubusercontent.com/u/9008753?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardson","html_url":"https://github.com/ricardson","followers_url":"https://api.github.com/users/ricardson/followers","following_url":"https://api.github.com/users/ricardson/following{/other_user}","gists_url":"https://api.github.com/users/ricardson/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardson/subscriptions","organizations_url":"https://api.github.com/users/ricardson/orgs","repos_url":"https://api.github.com/users/ricardson/repos","events_url":"https://api.github.com/users/ricardson/events{/privacy}","received_events_url":"https://api.github.com/users/ricardson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-29T19:37:24Z","updated_at":"2016-03-30T15:00:07Z","closed_at":"2016-03-30T14:38:46Z","body":"Hi all,\r\n\r\n  Iḿ doing some tests with caddy + php-fpm, in a \"vagrant\" enviroment and I did:\r\n\r\n1 - installed php-fpm\r\n2 - start the php-fpm (systemctl start php-fpm)\r\n3 - the default php-fpm configuration is socket (listen = /run/php-fpm/www.sock)\r\n4 - I have \"index.php\" to test\r\n5 - My Caddyfile\r\n\r\nhttp://0.0.0.0\r\ngzip\r\nbrowse\r\nmarkdown /blog\r\next .html .php\r\nlog logs/access.log\r\nerrors logs/errors.log\r\nheader / -Server\r\nfastcgi / /run/php-fpm/www.sock php\r\n\r\n6 - I'm start the caddy process as root.\r\n\r\nWhen I try to access \"http://localhost\" show the below error: \r\n\r\n29/Mar/2016:19:28:06 +0000 [ERROR 404 /index.php] Primary script unknown\r\n29/Mar/2016:19:28:35 +0000 [ERROR 404 /index.php] Primary script unknown\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/203476586","html_url":"https://github.com/mholt/caddy/issues/703#issuecomment-203476586","issue_url":"https://api.github.com/repos/mholt/caddy/issues/703","id":203476586,"user":{"login":"mholt","id":1128849,"avatar_url":"https://avatars.githubusercontent.com/u/1128849?v=3","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T15:00:07Z","updated_at":"2016-03-30T15:00:07Z","body":"Thanks for sharing the solution!"}}