{"id":900,"date":"2014-09-07T03:28:23","date_gmt":"2014-09-06T18:28:23","guid":{"rendered":"http:\/\/tech.akat.info\/?p=900"},"modified":"2014-09-16T01:12:22","modified_gmt":"2014-09-15T16:12:22","slug":"nginx-codeigniter","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=900","title":{"rendered":"nginx + CodeIgniter"},"content":{"rendered":"<h1>CodeIgniter\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/usr\/local\/src# wget -d https:\/\/ellislab.com\/codeigniter\/download\r\n2014-09-06 21:55:12 (11.9 MB\/s) - `download' \u3078\u4fdd\u5b58\u5b8c\u4e86 &#x5B;2327811\/2327811]\r\nroot@hostname:\/usr\/local\/src# cd \/var\/www\/htdocs\r\nroot@hostname:\/var\/www\/htdocs# unzip \/usr\/local\/src\/download\r\nroot@hostname:\/var\/www\/htdocs# chown -R www-data:www-data CodeIgniter_2.2.0\r\nroot@hostname:\/var\/www\/htdocs# mv CodeIgniter_2.2.0 CI\r\n<\/pre>\n<h1>CodeIgniter\u306e\u8a2d\u5b9a<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n### Hello World! ###\r\nroot@hostname:\/var\/www\/htdocs# vi application\/controllers\/blog.php\r\n======\r\n&lt;?php\r\nclass Blog extends CI_Controller {\r\n\r\n        public function index()\r\n        {\r\n                echo 'Hello World!';\r\n        }\r\n}\r\n?&gt;\r\n======\r\nroot@hostname:\/var\/www\/htdocs# chown www-data:www-data application\/controllers\/blog.php\r\n\r\n### config.php\u306e$config&#x5B;'base_url']\u30fb$config&#x5B;'index_page']\u306e\u5909\u66f4 ###\r\nroot@hostname:\/var\/www\/htdocs\/CI# vi application\/config\/config.php\r\n<\/pre>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/09\/2014-09-07_002828.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2014\/09\/2014-09-07_002828.png\" alt=\"2014-09-07_002828\" width=\"843\" height=\"225\" class=\"alignnone size-full wp-image-902\" \/><\/a><\/p>\n<h1>nginx\u306e\u8a2d\u5b9a<\/h1>\n<p>rewrite\u3068try_file\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u8a2d\u5b9a\u304c\u3042\u3063\u305f\u305f\u3081\u6bd4\u8f03\u3057\u3066\u307f\u305f<br \/>\nlocation\u5185\u3067\u306eif\u306f\u554f\u984c\u3092\u8d77\u3053\u3059\u3053\u3068\u304c\u3042\u308b(<a href=\"http:\/\/tech.akat.info\/?p=911\">IfIsEvil<\/a>)<br \/>\ntry_file\u306e\u65b9\u304c\u9ad8\u901f\u306b\u52d5\u4f5c\u3059\u308b(\u304a\u305d\u3089\u304frewrite\u306fif\u6587\u51e6\u7406\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u305f\u3081)<br \/>\n\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3082try_file\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001<strong>try_file\u304c\u826f\u3055\u305d\u3046<\/strong><\/p>\n<h2>rewrite\u7de8<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nserver {\r\n        listen   80; ## listen for ipv4; this line is default and implied\r\n        root \/var\/www\/htdocs\/CI;\r\n        index index.php index.html;\r\n        server_name 49.212.204.46;\r\n\r\n        # log\u3092\u53d6\u5f97\r\n        access_log \/var\/log\/nginx\/CI\/access.log;\r\n        error_log \/var\/log\/nginx\/CI\/error.log debug;\r\n        rewrite_log on;\r\n\r\n        location \/ {\r\n                if (-f $request_filename) {\r\n                        #expires 30d;\r\n                        break;\r\n                }\r\n                if (!-e $request_filename) {\r\n                        rewrite ^(.*)$ \/index.php?q=$1 last;\r\n                        # redirect\u3068\u3059\u308b\u3053\u3068\u3067\u30d6\u30e9\u30a6\u30b6\u306brewrite\u3057\u305f\u30a2\u30c9\u30ec\u30b9\u3092\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\r\n                        # \u305f\u3060\u3057redirect\u306f\u65b0\u3057\u3044URI\u3092\u51e6\u7406\u305b\u305a\u3001302\u3092\u8fd4\u5374\u3059\u308b\u3060\u3051\u306a\u306e\u3067\u3042\u307e\u308a\u610f\u5473\u304c\u306a\u3044\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\r\n                }\r\n        }\r\n\r\n        location ~ application\/.* { deny all; }\r\n        location ~ system\/.* { deny all; }\r\n        location ~ \/\\.ht { deny all; }\r\n\r\n        location ~ \\.php$ {\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\n<\/pre>\n<p>\u4ed6\u306e\u30b5\u30fc\u30d0\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname2:\/# curl --dump-header - http:\/\/49.212.204.46\/blog\r\nHTTP\/1.1 200 OK\r\nServer: nginx\/1.2.1\r\nDate: Sat, 06 Sep 2014 16:55:53 GMT\r\nContent-Type: text\/html\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP\/5.4.4-14+deb7u14\r\n\r\nHello World!\r\n<\/pre>\n<h2>rewrite\u7de8-log-<\/h2>\n<p>error_log\u3092debug\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u8a73\u7d30\u306a\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u308b<\/p>\n<pre class=\"brush: plain; title: http:\/\/49.212.204.46\/blog\u306b\u30a2\u30af\u30bb\u30b9; notranslate\" title=\"http:\/\/49.212.204.46\/blog\u306b\u30a2\u30af\u30bb\u30b9\">\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: post event 000000000225B320\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: delete posted event 000000000225B320\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: accept on 0.0.0.0:80, ready: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: posix_memalign: 0000000002185760:256 @16\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 accept: 49.212.146.190 fd:20 \u25a0\u30a2\u30af\u30bb\u30b9\u5143IP\u30a2\u30c9\u30ec\u30b9\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer add: 20: 60000:1410022613631\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 epoll add event: fd:20 op:1 ev:80000001\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000225B458\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000225B458\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 malloc: 00000000021936C0:1312\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 posix_memalign: 00000000022556F0:256 @16\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 malloc: 0000000002193BF0:1024\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 posix_memalign: 0000000002194000:4096 @16\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http process request line\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 recv: fd:20 169 of 1024\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http request line: &quot;GET \/blog HTTP\/1.1&quot; \u25a0HTTP Request\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http uri: &quot;\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http args: &quot;&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http exten: &quot;&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http process request header line\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http header: &quot;User-Agent: curl\/7.22.0 (x86_64-pc-linux-gnu) libcurl\/7.22.0 OpenSSL\/1.0.1 zlib\/1.2.3.4 libidn\/1.23 librtmp\/2.3&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http header: &quot;Host: 49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http header: &quot;Accept: *\/*&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http header done\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer del: 20: 1410022613631\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 generic phase: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 rewrite phase: 1 \u25a0rewrite\u51e6\u7406(phase\u3067\u691c\u7d22\u3059\u308b\u3068\u3001rewrite\u2192post rewrite\u2192access\u2192post access \u3068\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b)\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: &quot;\/&quot; \u25a0location\u306e\u9078\u629e\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;application\/.*&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;system\/.*&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;\/\\.ht&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;\\.php$&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 using configuration &quot;\/&quot; \u25a0&quot;\/&quot; location\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http cl:-1 max:1048576\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 rewrite phase: 3\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 rewrite phase: 4\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script complex value\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/var\/www\/htdocs\/CI\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;^@&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script file op 0000000000000000 &quot;\/var\/www\/htdocs\/CI\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script file op false\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script if \u25a0if (-f $request_filename)\u306e\u691c\u8a3c\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script if: false\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script complex value\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/var\/www\/htdocs\/CI\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;^@&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script file op 0000000000000005 &quot;\/var\/www\/htdocs\/CI\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script if \u25a0if (!-e $request_filename)\u306e\u691c\u8a3c\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script regex: &quot;^(.*)$&quot;\r\n2014\/09\/07 01:55:53 &#x5B;notice] 21883#0: *1 &quot;^(.*)$&quot; matches &quot;\/blog&quot;, client: 49.212.146.190, server: 49.212.204.46, request: &quot;GET \/blog HTTP\/1.1&quot;, host: &quot;49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;\/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script args\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;q=&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script capture: &quot;\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script regex end\r\n2014\/09\/07 01:55:53 &#x5B;notice] 21883#0: *1 rewritten data: &quot;\/index.php&quot;, args: &quot;q=\/blog&quot;, client: 49.212.146.190, server: 49.212.204.46, request: &quot;GET \/blog HTTP\/1.1&quot;, host: &quot;49.212.204.46&quot; \u25a0rewrite\u7d50\u679c\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post rewrite phase: 5\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 uri changes: 11\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: &quot;\/&quot; \u25a0location\u306e\u9078\u629e\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;application\/.*&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;system\/.*&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;\/\\.ht&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 test location: ~ &quot;\\.php$&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 using configuration &quot;\\.php$&quot; \u25a0&quot;\\.php$&quot; location\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http cl:-1 max:1048576\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 rewrite phase: 3\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 rewrite phase: 4\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post rewrite phase: 5\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 generic phase: 6\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 generic phase: 7\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 generic phase: 8\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 access phase: 9\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 access phase: 10\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 access phase: 11\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 access phase: 12\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post access phase: 13\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 posix_memalign: 000000000218A280:4096 @16\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http init upstream, client timer: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 epoll add event: fd:20 op:3 ev:80000005\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;QUERY_STRING&quot; \u25a0fastcgi\u306b\u6e21\u3059\u5909\u6570\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;QUERY_STRING: q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;REQUEST_METHOD&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;GET&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;REQUEST_METHOD: GET&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;CONTENT_TYPE&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;CONTENT_TYPE: &quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;CONTENT_LENGTH&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;CONTENT_LENGTH: &quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SCRIPT_FILENAME&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/var\/www\/htdocs\/CI\/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SCRIPT_FILENAME: \/var\/www\/htdocs\/CI\/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SCRIPT_NAME&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SCRIPT_NAME: \/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;REQUEST_URI&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;REQUEST_URI: \/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;DOCUMENT_URI&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;DOCUMENT_URI: \/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;DOCUMENT_ROOT&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;\/var\/www\/htdocs\/CI&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;DOCUMENT_ROOT: \/var\/www\/htdocs\/CI&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SERVER_PROTOCOL&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;HTTP\/1.1&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SERVER_PROTOCOL: HTTP\/1.1&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;GATEWAY_INTERFACE&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;CGI\/1.1&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;GATEWAY_INTERFACE: CGI\/1.1&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SERVER_SOFTWARE&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;nginx\/&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;1.2.1&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SERVER_SOFTWARE: nginx\/1.2.1&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;REMOTE_ADDR&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;49.212.146.190&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;REMOTE_ADDR: 49.212.146.190&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;REMOTE_PORT&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;55564&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;REMOTE_PORT: 55564&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SERVER_ADDR&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SERVER_ADDR: 49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SERVER_PORT&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;80&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SERVER_PORT: 80&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;SERVER_NAME&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;SERVER_NAME: 49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;HTTPS&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script var: &quot;&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;HTTPS: &quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;REDIRECT_STATUS&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http script copy: &quot;200&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;REDIRECT_STATUS: 200&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;HTTP_USER_AGENT: curl\/7.22.0 (x86_64-pc-linux-gnu) libcurl\/7.22.0 OpenSSL\/1.0.1 zlib\/1.2.3.4 libidn\/1.23 librtmp\/2.3&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;HTTP_HOST: 49.212.204.46&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 fastcgi param: &quot;HTTP_ACCEPT: *\/*&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http cleanup add: 0000000002194FE8\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 get rr peer, try: 1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 socket 21\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 epoll add connection: fd:21 ev:80000005\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 connect to unix:\/var\/run\/php5-fpm.sock, fd:21 #2 \u25a0php-fpm\u306b\u63a5\u7d9a\u3001\u305d\u306e\u5f8c\u51e6\u7406\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 connected\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream connect: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 posix_memalign: 0000000002195010:128 @16\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream send request\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 chain writer buf fl:0 s:632\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 chain writer in: 000000000218A8C8\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 writev: 632\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 chain writer out: 0000000000000000\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer add: 21: 60000:1410022613631\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http finalize request: -4, &quot;\/index.php?q=\/blog&quot; a:1, c:2\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http request count:2 blk:0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000226EC68\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000226ECD0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000226ECD0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream request: &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream dummy handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000226EC68\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http run request: &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream check client, write event:1, &quot;\/index.php&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream recv(): -1 (11: Resource temporarily unavailable)\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000225B4C0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000226ECD0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000226ECD0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream request: &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream dummy handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000225B4C0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream request: &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream process header\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 malloc: 000000000218B290:4096\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 recv: fd:21 104 of 4096\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 01\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 06\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 01\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 4B\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 05\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record length: 75\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi parser: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi header: &quot;X-Powered-By: PHP\/5.4.4-14+deb7u14&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi parser: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi header: &quot;Content-type: text\/html&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi parser: 1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi header done\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 uploadprogress error-tracker error: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 xslt filter header\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 HTTP\/1.1 200 OK \u25a0\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u3092\u8fd4\u5374\r\nServer: nginx\/1.2.1\r\nDate: Sat, 06 Sep 2014 16:55:53 GMT\r\nContent-Type: text\/html\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP\/5.4.4-14+deb7u14\r\n\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write new buf t:1 f:0 000000000218AB28, pos 000000000218AB28, size: 190 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http write filter: l:0 f:0 s:190\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http cacheable: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream process upstream\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe read upstream: 1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe preread: 33\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 readv: 1:3992\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe recv chain: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe buf free s:0 t:1 f:0 000000000218B290, pos 000000000218B2D7, size: 33 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe length: -1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 input buf #0 000000000218B2D7\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 01\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 03\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 01\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 08\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record byte: 00\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi record length: 8\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http fastcgi sent end request\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 input buf 000000000218B2D7 12\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe write downstream: 1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe write downstream flush in\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http output filter &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http copy filter: &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 image filter\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 xslt filter body\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http postpone filter &quot;\/index.php?q=\/blog&quot; 000000000218AD50\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http chunk: 12\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write old buf t:1 f:0 000000000218AB28, pos 000000000218AB28, size: 190 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write new buf t:1 f:0 000000000218AE38, pos 000000000218AE38, size: 3 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write new buf t:1 f:0 000000000218B290, pos 000000000218B2D7, size: 12 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write new buf t:0 f:0 0000000000000000, pos 00000000004F2B10, size: 2 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http write filter: l:0 f:0 s:207\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http copy filter: 0 &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 pipe write downstream done\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer: 21, old: 1410022613631, new: 1410022613647\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream exit: 0000000000000000\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 finalize http upstream request: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 finalize http fastcgi request\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free rr peer 1 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 close http upstream connection: 21\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 0000000002195010, unused: 48\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer del: 21: 1410022613631\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 reusable connection: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http upstream temp fd: -1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http output filter &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http copy filter: &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 image filter\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 xslt filter body\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http postpone filter &quot;\/index.php?q=\/blog&quot; 00007FFFA47F6DE0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http chunk: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write old buf t:1 f:0 000000000218AB28, pos 000000000218AB28, size: 190 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write old buf t:1 f:0 000000000218AE38, pos 000000000218AE38, size: 3 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write old buf t:1 f:0 000000000218B290, pos 000000000218B2D7, size: 12 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write old buf t:0 f:0 0000000000000000, pos 00000000004F2B10, size: 2 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 write new buf t:0 f:0 0000000000000000, pos 00000000004E2DDA, size: 5 file: 0, size: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http write filter: l:1 f:0 s:212\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http write filter limit 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 writev: 212\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http write filter 0000000000000000\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http copy filter: 0 &quot;\/index.php?q=\/blog&quot;\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http finalize request: 0, &quot;\/index.php?q=\/blog&quot; a:1, c:1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 set http keepalive handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http close request \u25a0http\u51e6\u7406\u7d42\u4e86\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http log handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 000000000218B290\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 0000000002194000, unused: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 000000000218A280, unused: 536\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer add: 20: 65000:1410022618647\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 00000000021936C0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 0000000002193BF0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 hc free: 0000000000000000 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 hc busy: 0000000000000000 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 tcp_nodelay\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 reusable connection: 1\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000225B458\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000225B458\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http keepalive handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 malloc: 00000000021936C0:1024\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 recv: fd:20 -1 of 1024\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 recv() not ready (11: Resource temporarily unavailable)\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000225B458\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 post event 000000000226EC68\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000226EC68\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http empty handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 delete posted event 000000000225B458\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 http keepalive handler\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 recv: fd:20 0 of 1024\r\n2014\/09\/07 01:55:53 &#x5B;info] 21883#0: *1 client 49.212.146.190 closed keepalive connection\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 close http connection: 20\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 event timer del: 20: 1410022618647\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 reusable connection: 0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 00000000021936C0\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 0000000000000000\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 0000000002185760, unused: 8\r\n2014\/09\/07 01:55:53 &#x5B;debug] 21883#0: *1 free: 00000000022556F0, unused: 112\r\n<\/pre>\n<h2>rewrite\u7de8-\u6027\u80fd-<\/h2>\n<p>\u4ed6\u306e\u30b5\u30fc\u30d0\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname2:\/# ab -n 1000 -c 100 http:\/\/49.212.204.46\/blog\r\nComplete requests:      1000\r\nFailed requests:        0\r\nRequests per second:    155.90 &#x5B;#\/sec] (mean)\r\nRequests per second:    171.18 &#x5B;#\/sec] (mean)\r\nRequests per second:    150.96 &#x5B;#\/sec] (mean)\r\n<\/pre>\n<h2>try_files\u7de8<\/h2>\n<p>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u9001\u308b\u3001\u306a\u3051\u308c\u3070\u6700\u5f8c\u306e\u5f15\u6570\u306eURI\u3092\u8fd4\u5374\u3059\u308b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nserver {\r\n        listen   80; ## listen for ipv4; this line is default and implied\r\n        root \/var\/www\/htdocs\/CI;\r\n        index index.php index.html;\r\n        server_name 49.212.204.46;\r\n\r\n        # log\u3092\u53d6\u5f97\r\n        access_log \/var\/log\/nginx\/CI\/access.log;\r\n        error_log \/var\/log\/nginx\/CI\/error.log debug;\r\n        rewrite_log on;\r\n\r\n        location \/ {\r\n                try_files $uri $uri\/ \/index.php;\r\n        }\r\n\r\n        location ~ application\/.* { deny all; }\r\n        location ~ system\/.* { deny all; }\r\n        location ~ \/\\.ht { deny all; }\r\n\r\n        location ~ \\.php$ {\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\n<\/pre>\n<h2>try_files\u7de8-log-<\/h2>\n<p>error_log\u3092debug\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u8a73\u7d30\u306a\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u308b<\/p>\n<pre class=\"brush: plain; title: http:\/\/49.212.204.46\/blog\u306b\u30a2\u30af\u30bb\u30b9; notranslate\" title=\"http:\/\/49.212.204.46\/blog\u306b\u30a2\u30af\u30bb\u30b9\">\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: post event 0000000002514210\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: delete posted event 0000000002514210\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: accept on 0.0.0.0:80, ready: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: posix_memalign: 0000000002442760:256 @16\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 accept: 49.212.146.190 fd:20 \u25a0\u30a2\u30af\u30bb\u30b9\u5143IP\u30a2\u30c9\u30ec\u30b9\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer add: 20: 60000:1410029425319\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 epoll add event: fd:20 op:1 ev:80000001\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 00000000025143B0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 00000000025143B0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 malloc: 00000000024506C0:1312\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 posix_memalign: 000000000250E5E0:256 @16\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 malloc: 0000000002450BF0:1024\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 posix_memalign: 0000000002451000:4096 @16\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http process request line\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 recv: fd:20 169 of 1024\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http request line: &quot;GET \/blog HTTP\/1.1&quot; \u25a0HTTP Request\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http uri: &quot;\/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http args: &quot;&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http exten: &quot;&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http process request header line\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http header: &quot;User-Agent: curl\/7.22.0 (x86_64-pc-linux-gnu) libcurl\/7.22.0 OpenSSL\/1.0.1 zlib\/1.2.3.4 libidn\/1.23 librtmp\/2.3&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http header: &quot;Host: 49.212.204.46&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http header: &quot;Accept: *\/*&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http header done\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer del: 20: 1410029425319\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 rewrite phase: 1 \u25a0rewrite\u51e6\u7406(phase\u3067\u691c\u7d22\u3059\u308b\u3068\u3001rewrite\u2192post rewrite\u2192access\u2192post access \u3068\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b)\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: &quot;\/&quot; \u25a0location\u306e\u9078\u629e\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;application\/.*&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;system\/.*&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;\/\\.ht&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;\\.php$&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 using configuration &quot;\/&quot; \u25a0&quot;\/&quot; location\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http cl:-1 max:1048576\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 rewrite phase: 3\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 rewrite phase: 4\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post rewrite phase: 5\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 6\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 7\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 8\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 9\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 10\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 11\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 12\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post access phase: 13\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 try files phase: 14 \u25a0try_files $uri $uri\/ \/index.php \u306e\u691c\u8a3c\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 trying to use file: &quot;\/blog&quot; &quot;\/var\/www\/htdocs\/CI\/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 trying to use dir: &quot;\/blog&quot; &quot;\/var\/www\/htdocs\/CI\/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 trying to use file: &quot;\/index.php&quot; &quot;\/var\/www\/htdocs\/CI\/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 internal redirect: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 rewrite phase: 1 \u25a0index.php\u306brewrite\u5f8c\u306e\u52d5\u4f5c\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: &quot;\/&quot; \u25a0location\u306e\u9078\u629e\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;application\/.*&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;system\/.*&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;\/\\.ht&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 test location: ~ &quot;\\.php$&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 using configuration &quot;\\.php$&quot; \u25a0&quot;\\.php$&quot; location\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http cl:-1 max:1048576\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 rewrite phase: 3\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 rewrite phase: 4\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post rewrite phase: 5\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 6\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 7\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 generic phase: 8\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 9\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 10\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 11\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 access phase: 12\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post access phase: 13\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 try files phase: 14 \u25a0try_files phase\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 posix_memalign: 0000000002447280:4096 @16\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http init upstream, client timer: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 epoll add event: fd:20 op:3 ev:80000005\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;QUERY_STRING&quot; \u25a0fastcgi\u306b\u6e21\u3059\u5909\u6570\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;QUERY_STRING: &quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;REQUEST_METHOD&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;GET&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;REQUEST_METHOD: GET&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;CONTENT_TYPE&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;CONTENT_TYPE: &quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;CONTENT_LENGTH&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;CONTENT_LENGTH: &quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SCRIPT_FILENAME&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/var\/www\/htdocs\/CI\/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SCRIPT_FILENAME: \/var\/www\/htdocs\/CI\/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SCRIPT_NAME&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SCRIPT_NAME: \/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;REQUEST_URI&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;REQUEST_URI: \/blog&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;DOCUMENT_URI&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;DOCUMENT_URI: \/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;DOCUMENT_ROOT&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;\/var\/www\/htdocs\/CI&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;DOCUMENT_ROOT: \/var\/www\/htdocs\/CI&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SERVER_PROTOCOL&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;HTTP\/1.1&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SERVER_PROTOCOL: HTTP\/1.1&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;GATEWAY_INTERFACE&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;CGI\/1.1&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;GATEWAY_INTERFACE: CGI\/1.1&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SERVER_SOFTWARE&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;nginx\/&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;1.2.1&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SERVER_SOFTWARE: nginx\/1.2.1&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;REMOTE_ADDR&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;49.212.146.190&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;REMOTE_ADDR: 49.212.146.190&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;REMOTE_PORT&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;58634&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;REMOTE_PORT: 58634&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SERVER_ADDR&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;49.212.204.46&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SERVER_ADDR: 49.212.204.46&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SERVER_PORT&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;80&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SERVER_PORT: 80&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;SERVER_NAME&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;49.212.204.46&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;SERVER_NAME: 49.212.204.46&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;HTTPS&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script var: &quot;&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;HTTPS: &quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;REDIRECT_STATUS&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http script copy: &quot;200&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;REDIRECT_STATUS: 200&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;HTTP_USER_AGENT: curl\/7.22.0 (x86_64-pc-linux-gnu) libcurl\/7.22.0 OpenSSL\/1.0.1 zlib\/1.2.3.4 libidn\/1.23 librtmp\/2.3&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;HTTP_HOST: 49.212.204.46&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 fastcgi param: &quot;HTTP_ACCEPT: *\/*&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http cleanup add: 0000000002447700\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 get rr peer, try: 1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 socket 21\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 epoll add connection: fd:21 ev:80000005\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 connect to unix:\/var\/run\/php5-fpm.sock, fd:21 #25 \u25a0php-fpm\u306b\u63a5\u7d9a\u3001\u305d\u306e\u5f8c\u51e6\u7406\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 connected\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream connect: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 posix_memalign: 0000000002452010:128 @16\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream send request\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 chain writer buf fl:0 s:624\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 chain writer in: 0000000002447738\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 writev: 624\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 chain writer out: 0000000000000000\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer add: 21: 60000:1410029425320\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http finalize request: -4, &quot;\/index.php?&quot; a:1, c:3\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http request count:3 blk:0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http finalize request: -4, &quot;\/index.php?&quot; a:1, c:2\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http request count:2 blk:0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 0000000002527BC0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 0000000002527B58\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 0000000002527B58\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream request: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream dummy handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 0000000002527BC0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http run request: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream check client, write event:1, &quot;\/index.php&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream recv(): -1 (11: Resource temporarily unavailable)\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 0000000002514348\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 0000000002527B58\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 0000000002527B58\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream request: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream dummy handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 0000000002514348\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream request: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream process header\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 malloc: 0000000002448290:4096\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 recv: fd:21 104 of 4096\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 01\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 06\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 01\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 4B\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 05\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record length: 75\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi parser: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi header: &quot;X-Powered-By: PHP\/5.4.4-14+deb7u14&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi parser: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi header: &quot;Content-type: text\/html&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi parser: 1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi header done\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 uploadprogress error-tracker error: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 xslt filter header\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 HTTP\/1.1 200 OK \u25a0\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u3092\u8fd4\u5374\r\nServer: nginx\/1.2.1\r\nDate: Sat, 06 Sep 2014 18:49:25 GMT\r\nContent-Type: text\/html\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP\/5.4.4-14+deb7u14\r\n\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write new buf t:1 f:0 0000000002447998, pos 0000000002447998, size: 190 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http write filter: l:0 f:0 s:190\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http cacheable: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream process upstream\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe read upstream: 1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe preread: 33\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 readv: 1:3992\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe recv chain: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe buf free s:0 t:1 f:0 0000000002448290, pos 00000000024482D7, size: 33 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe length: -1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 input buf #0 00000000024482D7\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 01\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 03\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 01\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 08\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record byte: 00\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi record length: 8\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http fastcgi sent end request\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 input buf 00000000024482D7 12\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe write downstream: 1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe write downstream flush in\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http output filter &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http copy filter: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 image filter\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 xslt filter body\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http postpone filter &quot;\/index.php?&quot; 0000000002447BC0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http chunk: 12\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write old buf t:1 f:0 0000000002447998, pos 0000000002447998, size: 190 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write new buf t:1 f:0 0000000002447CA8, pos 0000000002447CA8, size: 3 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write new buf t:1 f:0 0000000002448290, pos 00000000024482D7, size: 12 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write new buf t:0 f:0 0000000000000000, pos 00000000004F2B10, size: 2 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http write filter: l:0 f:0 s:207\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http copy filter: 0 &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 pipe write downstream done\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer: 21, old: 1410029425320, new: 1410029425330\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream exit: 0000000000000000\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 finalize http upstream request: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 finalize http fastcgi request\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free rr peer 1 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 close http upstream connection: 21\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000002452010, unused: 48\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer del: 21: 1410029425320\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 reusable connection: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http upstream temp fd: -1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http output filter &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http copy filter: &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 image filter\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 xslt filter body\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http postpone filter &quot;\/index.php?&quot; 00007FFFB7EAD450\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http chunk: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write old buf t:1 f:0 0000000002447998, pos 0000000002447998, size: 190 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write old buf t:1 f:0 0000000002447CA8, pos 0000000002447CA8, size: 3 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write old buf t:1 f:0 0000000002448290, pos 00000000024482D7, size: 12 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write old buf t:0 f:0 0000000000000000, pos 00000000004F2B10, size: 2 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 write new buf t:0 f:0 0000000000000000, pos 00000000004E2DDA, size: 5 file: 0, size: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http write filter: l:1 f:0 s:212\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http write filter limit 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 writev: 212\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http write filter 0000000000000000\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http copy filter: 0 &quot;\/index.php?&quot;\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http finalize request: 0, &quot;\/index.php?&quot; a:1, c:1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 set http keepalive handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http close request \u25a0http\u51e6\u7406\u7d42\u4e86\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http log handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000002448290\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000002451000, unused: 6\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000002447280, unused: 936\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer add: 20: 65000:1410029430330\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 00000000024506C0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000002450BF0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 hc free: 0000000000000000 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 hc busy: 0000000000000000 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 tcp_nodelay\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 reusable connection: 1\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 00000000025143B0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 00000000025143B0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http keepalive handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 malloc: 00000000024506C0:1024\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 recv: fd:20 -1 of 1024\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 recv() not ready (11: Resource temporarily unavailable)\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 00000000025143B0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 post event 0000000002527BC0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 0000000002527BC0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http empty handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 delete posted event 00000000025143B0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 http keepalive handler\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 recv: fd:20 0 of 1024\r\n2014\/09\/07 03:49:25 &#x5B;info] 22224#0: *24 client 49.212.146.190 closed keepalive connection\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 close http connection: 20\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 event timer del: 20: 1410029430330\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 reusable connection: 0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 00000000024506C0\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000000000000\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 0000000002442760, unused: 8\r\n2014\/09\/07 03:49:25 &#x5B;debug] 22224#0: *24 free: 000000000250E5E0, unused: 112\r\n<\/pre>\n<h2>try_files\u7de8-\u6027\u80fd-<\/h2>\n<p>\u4ed6\u306e\u30b5\u30fc\u30d0\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname2:\/# ab -n 1000 -c 100 http:\/\/49.212.204.46\/blog\r\nComplete requests:      1000\r\nFailed requests:        0\r\nRequests per second:    177.36 &#x5B;#\/sec] (mean)\r\nRequests per second:    178.49 &#x5B;#\/sec] (mean)\r\nRequests per second:    180.77 &#x5B;#\/sec] (mean)\r\n<\/pre>\n<h1>\u53c2\u8003<\/h1>\n<p>CI\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30c8<br \/>\nhttps:\/\/ellislab.com\/codeigniter\/user-guide\/installation\/downloads.html<br \/>\nCI-HelloWorld!<br \/>\nhttp:\/\/codeigniter.jp\/user_guide_ja\/general\/controllers.html#hello<br \/>\nCI-config\u306b\u3064\u3044\u3066<br \/>\nhttp:\/\/www.ci-guide.info\/practical\/configuration\/config\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CodeIgniter\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 root@hostname:\/usr\/local\/src# wget -d https:\/\/ellislab.com\/codeigniter\/download 2014-09-06  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[33,18],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/900"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=900"}],"version-history":[{"count":10,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":915,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/900\/revisions\/915"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}