{"id":178,"date":"2012-10-05T13:14:57","date_gmt":"2012-10-05T13:14:57","guid":{"rendered":"http:\/\/pingtool.org\/?p=178"},"modified":"2012-12-26T15:24:38","modified_gmt":"2012-12-26T15:24:38","slug":"nginx-ssl-php-fpm-sample-config","status":"publish","type":"post","link":"https:\/\/pingtool.org\/ru\/nginx-ssl-php-fpm-sample-config\/","title":{"rendered":"\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 Nginx + SSL + PHP-FPM"},"content":{"rendered":"<p><code><br \/>\nserver {<br \/>\n    listen       443;<br \/>\n    server_name  server.name.com;<br \/>\n    root   \/d1\/html\/phpbb;<\/p>\n<p>    ssl                  on;<br \/>\n    ssl_certificate \/etc\/ssl\/certificate.crt;<br \/>\n    ssl_certificate_key \/etc\/ssl\/private.key;<\/p>\n<p>    ssl_session_timeout  5m;<\/p>\n<p>    ssl_protocols  SSLv2 SSLv3 TLSv1;<br \/>\n    ssl_ciphers  HIGH:!aNULL:!MD5;<br \/>\n    ssl_prefer_server_ciphers   on;<\/p>\n<p>    location \/ {<br \/>\n        index index.php index.html index.htm;<br \/>\n    }<\/p>\n<p>    location ~ \\.php$ {<br \/>\n        include         \/etc\/nginx\/fastcgi_params;<br \/>\n        if (-f $request_filename) {<br \/>\n        fastcgi_pass   127.0.0.1:9000;<br \/>\n        }<br \/>\n        fastcgi_index  index.php;<br \/>\n        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;<br \/>\n    }<br \/>\n}<\/p>\n<p><\/code><\/p>","protected":false},"excerpt":{"rendered":"<p>server { listen 443; server_name server.name.com; root \/d1\/html\/phpbb; ssl on; ssl_certificate \/etc\/ssl\/certificate.crt; ssl_certificate_key \/etc\/ssl\/private.key; ssl_session_timeout 5m; ssl_protocols SSLv2 SSLv3 TLSv1; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location \/ { index index.php index.html index.htm; } location ~ \\.php$ { include \/etc\/nginx\/fastcgi_params; if (-f &hellip; <a href=\"https:\/\/pingtool.org\/ru\/nginx-ssl-php-fpm-sample-config\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[12],"tags":[34,36,35],"class_list":["post-178","post","type-post","status-publish","format-standard","hentry","category-linux","tag-nginx","tag-php","tag-ssl"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":5,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"predecessor-version":[{"id":277,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/posts\/178\/revisions\/277"}],"wp:attachment":[{"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pingtool.org\/ru\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}