{"action":"created","issue":{"url":"https://api.github.com/repos/Codiad/Codiad/issues/853","labels_url":"https://api.github.com/repos/Codiad/Codiad/issues/853/labels{/name}","comments_url":"https://api.github.com/repos/Codiad/Codiad/issues/853/comments","events_url":"https://api.github.com/repos/Codiad/Codiad/issues/853/events","html_url":"https://github.com/Codiad/Codiad/issues/853","id":98674303,"number":853,"title":"can't get it to work","user":{"login":"jfmxlgithub","id":13618816,"avatar_url":"https://avatars.githubusercontent.com/u/13618816?v=3","gravatar_id":"","url":"https://api.github.com/users/jfmxlgithub","html_url":"https://github.com/jfmxlgithub","followers_url":"https://api.github.com/users/jfmxlgithub/followers","following_url":"https://api.github.com/users/jfmxlgithub/following{/other_user}","gists_url":"https://api.github.com/users/jfmxlgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/jfmxlgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfmxlgithub/subscriptions","organizations_url":"https://api.github.com/users/jfmxlgithub/orgs","repos_url":"https://api.github.com/users/jfmxlgithub/repos","events_url":"https://api.github.com/users/jfmxlgithub/events{/privacy}","received_events_url":"https://api.github.com/users/jfmxlgithub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-03T05:20:24Z","updated_at":"2015-08-04T01:30:25Z","closed_at":null,"body":"Hello,\r\n\r\nIm tryiing, but failing, to get codiad to work. I have installed nginx and followed the directions on the site.\r\n\r\nnginx will serve an html page from /home/jfl/www but will not serve codiad from /home/jfl/www/codiad.jfmxl.sdf.org. The site is not on the internet. I put an entry for codiad.jfmxl.sdf.org in /etc/hosts. What I get at http://codiad.jfmxl.sdf.org according to firebug is 200 on the GET, but \r\n\r\n<html>\r\n<head></head>\r\n<body></body>\r\n</html>\r\n\r\nI have set up a\r\n\r\nserver {\r\n    #listen   80; ## listen for ipv4; this line is default and implied\r\n    #listen   [::]:80 default ipv6only=on; ## listen for ipv6\r\n\r\n    root /home/jfl/www/codiad.jfmxl.sdf.org;\r\n    index index.php index.html;\r\n\r\n    # Make site accessible from http://localhost/\r\n    server_name localhost codiad.jfmxl.sdf.org;\r\n\r\n    location / {\r\n        # First attempt to serve request as file, then\r\n        # as directory, then fall back to index.html\r\n        try_files $uri $uri/ /index.html;\r\n    }\r\n\r\n    error_page 404 /404.html;\r\n\r\n    # redirect server error pages to the static page /50x.html\r\n    error_page 500 502 503 504 /50x.html;\r\n    location = /50x.html {\r\n        root /usr/share/nginx/www;\r\n    }\r\n\r\n    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n    location ~ \\.php$ {\r\n        fastcgi_split_path_info ^(.+\\.php)(/.+)$;\r\n        # NOTE: You should have \"cgi.fix_pathinfo = 0;\" in php.ini [I do have, both cli and fpm]\r\n\r\n        # With php5-cgi alone:\r\n        #fastcgi_pass 127.0.0.1:9000;\r\n        # With php5-fpm:\r\n        fastcgi_pass unix:/var/run/php5-fpm.sock;\r\n        fastcgi_index index.php;\r\n        include fastcgi_params;\r\n    }\r\n}\r\n\r\nroot@wsdeb:/home/jfl/www# ls -l /var/run/php5-fpm.sock \r\nsrw-rw---- 1 www-data www-data 0 Aug  2 08:14 /var/run/php5-fpm.sock\r\n\r\nroot@wsdeb:/home/jfl/www# ps ax | grep php5\r\n15554 ?        Ss     0:05 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)                    \r\n29209 pts/2    S+     0:00 grep php5\r\n\r\nI'm at a loss and so have come to bother you all. Thanks for any help you may give me."},"comment":{"url":"https://api.github.com/repos/Codiad/Codiad/issues/comments/127447889","html_url":"https://github.com/Codiad/Codiad/issues/853#issuecomment-127447889","issue_url":"https://api.github.com/repos/Codiad/Codiad/issues/853","id":127447889,"user":{"login":"jfmxlgithub","id":13618816,"avatar_url":"https://avatars.githubusercontent.com/u/13618816?v=3","gravatar_id":"","url":"https://api.github.com/users/jfmxlgithub","html_url":"https://github.com/jfmxlgithub","followers_url":"https://api.github.com/users/jfmxlgithub/followers","following_url":"https://api.github.com/users/jfmxlgithub/following{/other_user}","gists_url":"https://api.github.com/users/jfmxlgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/jfmxlgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfmxlgithub/subscriptions","organizations_url":"https://api.github.com/users/jfmxlgithub/orgs","repos_url":"https://api.github.com/users/jfmxlgithub/repos","events_url":"https://api.github.com/users/jfmxlgithub/events{/privacy}","received_events_url":"https://api.github.com/users/jfmxlgithub/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T01:30:25Z","updated_at":"2015-08-04T01:30:25Z","body":"bingo! looks like. Is that option discussed in the documantation somewhere?\r\n\r\nThank you Professor Doctor dugite-code, Sir!"}}