{"id":44401,"date":"2020-02-28T11:10:09","date_gmt":"2020-02-28T03:10:09","guid":{"rendered":"http:\/\/4563.org\/?p=44401"},"modified":"2020-02-28T11:10:09","modified_gmt":"2020-02-28T03:10:09","slug":"%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf%e5%a5%97%e4%ba%86cf%e5%90%8enginx%e5%b0%b1%e5%a4%b1%e6%95%88%e4%ba%86%ef%bc%8c%e4%b8%8d%e8%83%bd%e5%90%af%e5%8a%a8%ef%bc%8c%e4%bd%95%e8%a7%a3%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=44401","title":{"rendered":"\u5b9d\u5854\u9762\u677f\u5957\u4e86CF\u540eNginx\u5c31\u5931\u6548\u4e86\uff0c\u4e0d\u80fd\u542f\u52a8\uff0c\u4f55\u89e3\uff1f"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>kubest<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 11:44:02\t<\/p>\n<h3>\u5b9d\u5854\u9762\u677f\u5957\u4e86CF\u540eNginx\u5c31\u5931\u6548\u4e86\uff0c\u4e0d\u80fd\u542f\u52a8\uff0c\u4f55\u89e3\uff1f<\/h3>\n<p>  \t\t\u4e0d\u5957CF\u6b63\u5e38\uff0c\u5957\u7528CF\u540eNginx\u5931\u6548\u3002<br \/>  \u662f\u4e0d\u662f TLS \u81ea\u52a8\u914d\u7f6e\u7684\u539f\u56e0\uff1f<br \/>  \u600e\u4e48\u6837\u89e3\u51b3\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51e4\u68a8<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 12:42:30\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f60\u57df\u540d\u5982\u4f55\u89e3\u6790\u5173nginx\u5565\u4e8b\u513f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>jhsyue<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 12:27:36\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5957cf\u8ddf\u8fd9\u4e2a\u6709\u6bdb\u5173\u7cfb \u8d34nginx.conf\u770b\u770b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u767d\u69d0\u53d1\u5361<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 12:31:29\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5b9d\u5854\u9762\u677f\u7ed1\u5b9a\u7684\u57df\u540d\u4e0d\u80fd\u5957CF\uff0c\u653e\u5f03\u5427\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>kubest<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 11:50:15\t<\/p>\n<h3><\/h3>\n<p>  \t\tnginx:  getpwnam(&quot;www&quot;) failed in \/www\/server\/nginx\/conf\/nginx.conf:1<br \/>  nginx: configuration file \/www\/server\/nginx\/conf\/nginx.conf test failed\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u8d75\u8707<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 12:53:14\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u51e4\u68a8 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 12:42<br \/>  \u4f60\u57df\u540d\u5982\u4f55\u89e3\u6790\u5173nginx\u5565\u4e8b\u513f<\/p>\n<p> \u90fd\u662f\u4e9b\u5927\u4eba\u624dyc008t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>kubest<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 20:30:49\t<\/p>\n<h3><\/h3>\n<p>  \t\tjhsyue \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-11-29 12:27<br \/>  \u5957cf\u8ddf\u8fd9\u4e2a\u6709\u6bdb\u5173\u7cfb \u8d34nginx.conf\u770b\u770b<\/p>\n<p> userwww www;<br \/>  worker_processes auto;<br \/>  error_log\/www\/wwwlogs\/nginx_error.logcrit;<br \/>  pid&nbsp; &nbsp;&nbsp; &nbsp;\/www\/server\/nginx\/logs\/nginx.pid;<br \/>  worker_rlimit_nofile 51200;<\/p>\n<p>  events<br \/>  &nbsp; &nbsp; {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;use epoll;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;worker_connections 51200;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;multi_accept on;<br \/>  &nbsp; &nbsp; }<\/p>\n<p>  http<br \/>  &nbsp; &nbsp; {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;include&nbsp; &nbsp;&nbsp; &nbsp; mime.types;<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #include luawaf.conf;<\/p>\n<p>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; include proxy.conf;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;default_typeapplication\/octet-stream;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;server_names_hash_bucket_size 512;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;client_header_buffer_size 32k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;large_client_header_buffers 4 32k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;client_max_body_size 50m;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;sendfile&nbsp; &nbsp;on;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;tcp_nopush on;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;keepalive_timeout 60;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;tcp_nodelay on;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_connect_timeout 300;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_send_timeout 300;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_read_timeout 300;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_buffer_size 64k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_buffers 4 64k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_busy_buffers_size 128k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_temp_file_write_size 256k;<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fastcgi_intercept_errors on;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;gzip on;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_min_length1k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_buffers&nbsp; &nbsp;4 16k;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_http_version 1.1;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_comp_level 2;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_types&nbsp; &nbsp;text\/plain application\/javascript application\/x-javascript text\/javascript text\/css application\/xml;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_vary on;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_proxied&nbsp; &nbsp;expired no-cache no-store private auth;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;gzip_disable&nbsp; &nbsp;&quot;MSIE .&quot;;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;limit_conn_zone $binary_remote_addr zone=perip:10m;<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; limit_conn_zone $server_name zone=perserver:10m;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;server_tokens off;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;access_log off;<\/p>\n<p>  server<br \/>  &nbsp; &nbsp; {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;listen 888;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;server_name phpmyadmin;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;index index.html index.htm index.php;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;root\/www\/server\/phpmyadmin;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;#error_page&nbsp; &nbsp;404&nbsp; &nbsp;\/404.html;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;include enable-php.conf;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;expires&nbsp; &nbsp;&nbsp; &nbsp;30d;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;location ~ .*.(js|css)?$<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;expires&nbsp; &nbsp;&nbsp; &nbsp;12h;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;location ~ \/.<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;deny all;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;}<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;access_log\/www\/wwwlogs\/access.log;<br \/>  &nbsp; &nbsp; }<br \/>  include \/www\/server\/panel\/vhost\/nginx\/*.conf;<br \/>  }<\/p>\n<p>  \t\t\t\t\t<strong>\u7231\u5403\u918b\u7684\u918b\u918b<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 20:31:24\t<\/p>\n<h3><\/h3>\n<p>  \t\tcf\u88ab\u51a4\u6789\u6b7b\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>kubest<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 20:44:07\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7231\u5403\u918b\u7684\u918b\u918b \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 20:31<br \/>  cf\u88ab\u51a4\u6789\u6b7b\u4e86<\/p>\n<p> \u662f\u4e0d\u662f TLS \u81ea\u52a8\u914d\u7f6e\u7684\u539f\u56e0\uff1f<br \/>  \u76f4\u63a5TCP\u5c31\u6ca1\u6709\u95ee\u9898\u3002\u3002\u3002\u3002\u3002\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u9053\u9ad8\u4eba\u95f4\u4e00\u5c3a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-1 21:16:48\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f60\u4eec\u6293\u9c81\u8fc5\u5173\u6211\u5468\u6811\u4eba\u4ec0\u4e48\u4e8b\uff1f\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>kubest \u5927\u4f6c\u6709\u8bdd\u8bf4 : 20&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/44401"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44401"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/44401\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44401"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}