{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/586","labels_url":"https://api.github.com/repos/flarum/core/issues/586/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/586/comments","events_url":"https://api.github.com/repos/flarum/core/issues/586/events","html_url":"https://github.com/flarum/core/issues/586","id":111183668,"number":586,"title":"nginx `location /` needs `index index.php`","user":{"login":"lxg","id":208363,"avatar_url":"https://avatars.githubusercontent.com/u/208363?v=3","gravatar_id":"","url":"https://api.github.com/users/lxg","html_url":"https://github.com/lxg","followers_url":"https://api.github.com/users/lxg/followers","following_url":"https://api.github.com/users/lxg/following{/other_user}","gists_url":"https://api.github.com/users/lxg/gists{/gist_id}","starred_url":"https://api.github.com/users/lxg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxg/subscriptions","organizations_url":"https://api.github.com/users/lxg/orgs","repos_url":"https://api.github.com/users/lxg/repos","events_url":"https://api.github.com/users/lxg/events{/privacy}","received_events_url":"https://api.github.com/users/lxg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flarum/core/labels/Backend","name":"Backend","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T13:47:33Z","updated_at":"2015-10-27T12:49:36Z","closed_at":null,"body":"When opening the Flarum home page on a fresh install without a request path in nginx (i.e. without `index.php`), the server responds with a 403 error.\r\n\r\nAfter adding a `index index.php` directive to the `location /` block it works:\r\n\r\n    location / { try_files $uri $uri/ /index.php?$query_string; index index.php; }\r\n\r\nSolution found [via UL SE](http://unix.stackexchange.com/a/105139).\r\n\r\nTested with nginx/1.6.2 on Ubuntu 15.04. This bug might not occur on other platforms where some sort of  `index index.php` directive is already contained in the `fastcgi_params` file."},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/151480825","html_url":"https://github.com/flarum/core/issues/586#issuecomment-151480825","issue_url":"https://api.github.com/repos/flarum/core/issues/586","id":151480825,"user":{"login":"lxg","id":208363,"avatar_url":"https://avatars.githubusercontent.com/u/208363?v=3","gravatar_id":"","url":"https://api.github.com/users/lxg","html_url":"https://github.com/lxg","followers_url":"https://api.github.com/users/lxg/followers","following_url":"https://api.github.com/users/lxg/following{/other_user}","gists_url":"https://api.github.com/users/lxg/gists{/gist_id}","starred_url":"https://api.github.com/users/lxg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxg/subscriptions","organizations_url":"https://api.github.com/users/lxg/orgs","repos_url":"https://api.github.com/users/lxg/repos","events_url":"https://api.github.com/users/lxg/events{/privacy}","received_events_url":"https://api.github.com/users/lxg/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T12:49:36Z","updated_at":"2015-10-27T12:49:36Z","body":"No, I didn’t. And I wouldn’t run a script that messes with my config. However, in my opinion, the “payload” of that script should be added to the [installation documentation](http://flarum.org/docs/installation/)."}}