{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/11250","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11250/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11250/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11250/events","html_url":"https://github.com/phalcon/cphalcon/issues/11250","id":123161362,"number":11250,"title":"phalcon does not support using nginx $_SERVER[‘REQUEST_URI’] as source of URIs:","user":{"login":"overlords","id":3174601,"avatar_url":"https://avatars.githubusercontent.com/u/3174601?v=3","gravatar_id":"","url":"https://api.github.com/users/overlords","html_url":"https://github.com/overlords","followers_url":"https://api.github.com/users/overlords/followers","following_url":"https://api.github.com/users/overlords/following{/other_user}","gists_url":"https://api.github.com/users/overlords/gists{/gist_id}","starred_url":"https://api.github.com/users/overlords/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overlords/subscriptions","organizations_url":"https://api.github.com/users/overlords/orgs","repos_url":"https://api.github.com/users/overlords/repos","events_url":"https://api.github.com/users/overlords/events{/privacy}","received_events_url":"https://api.github.com/users/overlords/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-20T14:07:08Z","updated_at":"2015-12-20T18:16:28Z","closed_at":"2015-12-20T18:16:28Z","body":"## environment\r\n- Phalcon Version: `2.0.9`\r\n- Zephir Version: `0.8.0a`\r\n- nginx Version: `nginx/1.9.9`\r\n- CentOS Version: `CentOS Linux release 7.2.1511 (Core)`\r\n\r\n## Nginx Config\r\n\r\nnot support\r\n```\r\nserver {\r\n    listen 80;\r\n\r\n    server_name localhost.dev;\r\n\r\n    index index.php index.html index.htm;\r\n\r\n    root /usr/local/nginx/html/one/public;\r\n\r\n    location / {\r\n        try_files $uri $uri/ /index.php;\r\n    }\r\n\r\n    location ~ \\.php$ {\r\n            try_files $uri =404;\r\n            fastcgi_split_path_info ^(.+\\.php)(/.+)$;\r\n            fastcgi_pass 127.0.0.1:9000;\r\n            fastcgi_index index.php;\r\n            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;\r\n            include fastcgi_params;\r\n    }\r\n\r\n    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {\r\n        root /usr/local/nginx/html/one/public;\r\n    }\r\n\r\n    location ~ /\\.ht {\r\n        deny all;\r\n    }\r\n}\r\n```\r\nsupport\r\n```\r\nserver {\r\n    listen      80;\r\n\r\n    server_name one.app;\r\n\r\n    root        /usr/local/nginx/html/one/public;\r\n\r\n    #access_log  /var/log/nginx/$host-access.log;\r\n    #error_log   /var/log/nginx/$host-error.log error;\r\n\r\n    index index.php index.html index.htm;\r\n\r\n    root        /usr/local/nginx/html/one/public;\r\n\r\n    #access_log  /var/log/nginx/$host-access.log;\r\n    #error_log   /var/log/nginx/$host-error.log error;\r\n\r\n    index index.php index.html index.htm;\r\n\r\n    try_files $uri $uri/ @rewrite;\r\n\r\n    location @rewrite {\r\n        rewrite ^(.*)$ /index.php?_url=$1;\r\n    }\r\n\r\n    location ~ \\.php {\r\n        # try_files    $uri =404;\r\n\r\n        fastcgi_index  /index.php;\r\n        fastcgi_pass   127.0.0.1:9000;\r\n\r\n        include fastcgi_params;\r\n        fastcgi_split_path_info       ^(.+\\.php)(/.+)$;\r\n        fastcgi_param PATH_INFO       $fastcgi_path_info;\r\n        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;\r\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n    }\r\n\r\n    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {\r\n        root /usr/local/nginx/html/one/public;\r\n    }\r\n\r\n    location ~ /\\.ht {\r\n        deny all;\r\n    }\r\n}\r\n```\r\nhttps://docs.phalconphp.com/en/latest/reference/nginx.html\r\n\r\nIf Phancon2  does not support should be deleted in the document"},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/166142171","html_url":"https://github.com/phalcon/cphalcon/issues/11250#issuecomment-166142171","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/11250","id":166142171,"user":{"login":"phalcon","id":1221505,"avatar_url":"https://avatars.githubusercontent.com/u/1221505?v=3","gravatar_id":"","url":"https://api.github.com/users/phalcon","html_url":"https://github.com/phalcon","followers_url":"https://api.github.com/users/phalcon/followers","following_url":"https://api.github.com/users/phalcon/following{/other_user}","gists_url":"https://api.github.com/users/phalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/phalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phalcon/subscriptions","organizations_url":"https://api.github.com/users/phalcon/orgs","repos_url":"https://api.github.com/users/phalcon/repos","events_url":"https://api.github.com/users/phalcon/events{/privacy}","received_events_url":"https://api.github.com/users/phalcon/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T18:16:27Z","updated_at":"2015-12-20T18:16:27Z","body":"It`s supported: https://docs.phalconphp.com/en/latest/reference/routing.html#uri-sources"}}