{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1829","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1829/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1829/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1829/events","html_url":"https://github.com/slimphp/Slim/issues/1829","id":143805081,"number":1829,"title":"Routing is incompatible with embedded PHP server and default nginx settings","user":{"login":"grikdotnet","id":1154121,"avatar_url":"https://avatars0.githubusercontent.com/u/1154121?v=3","gravatar_id":"","url":"https://api.github.com/users/grikdotnet","html_url":"https://github.com/grikdotnet","followers_url":"https://api.github.com/users/grikdotnet/followers","following_url":"https://api.github.com/users/grikdotnet/following{/other_user}","gists_url":"https://api.github.com/users/grikdotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/grikdotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grikdotnet/subscriptions","organizations_url":"https://api.github.com/users/grikdotnet/orgs","repos_url":"https://api.github.com/users/grikdotnet/repos","events_url":"https://api.github.com/users/grikdotnet/events{/privacy}","received_events_url":"https://api.github.com/users/grikdotnet/received_events","type":"User","site_admin":false},"labels":[{"id":55368,"url":"https://api.github.com/repos/slimphp/Slim/labels/discussion","name":"discussion","color":"b3b3b3","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":53,"created_at":"2016-03-27T12:38:28Z","updated_at":"2017-03-14T23:47:09Z","closed_at":"2017-03-14T23:47:09Z","body":"The default Nginx value of SCRIPT_NAME parameter sent to PHP-FPM is:\nfastcgi_param  SCRIPT_NAME  $fastcgi_script_name;\nhttps://github.com/nginx/nginx/blob/master/conf/fastcgi_params#L7\n\nThe default value of $fastcgi_script_name is a request URI.\nhttp://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#variables\n\nIn the same time Slim sets the BasePath setting to $_SERVER['SCRIPT_NAME'] here:\nhttps://github.com/slimphp/Slim/blob/3.x/Slim/Http/Uri.php#L209\n\nA router substracts the basepath from the URL\nhttps://github.com/slimphp/Slim/blob/3.x/Slim/Http/Uri.php#L216\nThe router receives \"/\" as the URI for any request, and so it misses all routes except of \"/\".\n"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/286597479","html_url":"https://github.com/slimphp/Slim/issues/1829#issuecomment-286597479","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1829","id":286597479,"user":{"login":"geggleto","id":4027602,"avatar_url":"https://avatars3.githubusercontent.com/u/4027602?v=3","gravatar_id":"","url":"https://api.github.com/users/geggleto","html_url":"https://github.com/geggleto","followers_url":"https://api.github.com/users/geggleto/followers","following_url":"https://api.github.com/users/geggleto/following{/other_user}","gists_url":"https://api.github.com/users/geggleto/gists{/gist_id}","starred_url":"https://api.github.com/users/geggleto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geggleto/subscriptions","organizations_url":"https://api.github.com/users/geggleto/orgs","repos_url":"https://api.github.com/users/geggleto/repos","events_url":"https://api.github.com/users/geggleto/events{/privacy}","received_events_url":"https://api.github.com/users/geggleto/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T23:47:09Z","updated_at":"2017-03-14T23:47:09Z","body":"I am closing this as iirc it's a problem with the PHP Built-In server which will not be resolved."}}
{"actor":{"display_login":"geggleto"}}