{"id":545944,"date":"2021-11-16T03:51:30","date_gmt":"2021-11-15T19:51:30","guid":{"rendered":"http:\/\/4563.org\/?p=545944"},"modified":"2021-11-16T03:51:30","modified_gmt":"2021-11-15T19:51:30","slug":"%e6%b1%9f%e6%b9%96%e6%95%91%e6%80%a5%e4%bb%a4%e5%a4%9a%e7%bd%91%e7%ab%99%e5%8f%8d%e4%bb%a3%e5%a5%97cf%ef%bc%8c%e9%83%bd%e6%98%afwp%e7%a8%8b%e5%ba%8f%ef%bc%8c%e4%bc%aa%e9%9d%99%e6%80%81%e5%87%ba-2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=545944","title":{"rendered":"(\u6c5f\u6e56\u6551\u6025\u4ee4)\u591a\u7f51\u7ad9\u53cd\u4ee3+\u5957CF\uff0c\u90fd\u662fWP\u7a0b\u5e8f\uff0c\u4f2a\u9759\u6001\u51fa\u95ee\u9898"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>leftgg<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>(\u6c5f\u6e56\u6551\u6025\u4ee4)\u591a\u7f51\u7ad9\u53cd\u4ee3+\u5957CF\uff0c\u90fd\u662fWP\u7a0b\u5e8f\uff0c\u4f2a\u9759\u6001\u51fa\u95ee\u9898<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 leftgg \u4e8e 2021-11-15 15:02 \u7f16\u8f91 <\/p>\n<p> \u540e\u7aef\u670d\u52a1\u5668X (\u7f51\u7ad9A,\u7f51\u7ad9B\uff0c\u7f51\u7ad9C)<br \/>  \u524d\u7aef\u670d\u52a1\u5668Y(\u7f51\u7ad9A,\u7f51\u7ad9B\uff0c\u7f51\u7ad9C)<br \/>  \u7136\u540e\u5728\u5957CF(\u7f51\u7ad9A,\u7f51\u7ad9B\uff0c\u7f51\u7ad9C)<\/p>\n<p>  \u5b9d\u5854WORDPRESS\u4f2a\u9759\u6001\u65e0\u6cd5\u4fdd\u5b58\uff0c\u51fa\u73b0\u5982\u4e0b\u9519\u8bef<br \/>  ERROR:<br \/>  nginx:  duplicate location &quot;\/&quot; in \/www\/server\/panel\/vhost\/rewrite\/\u57df\u540d.com.conf:2<br \/>  nginx: configuration file \/www\/server\/nginx\/conf\/nginx.conf test failed<\/p>\n<p>  wp\u7684\u4f2a\u9759\u6001\u89c4\u5219<br \/>  location \/<br \/>  {<br \/>  &nbsp; &nbsp; &nbsp; &nbsp;try_files $uri $uri\/ \/index.php?$args;<br \/>  }<\/p>\n<p>  rewrite \/wp-admin$ $scheme:\/\/$host$uri\/ permanent;<\/p>\n<p>  \u540e\u7aef\u670d\u52a1\u5668X IP 62.21.28.1 <br \/>  \u96be\u9053\u662f\u524d\u7aef\u670d\u52a1\u5668Y \/etc\/hosts\u91cc\u9762\u914d\u7f6e\u7684\u6709\u95ee\u9898\u5417\uff1f<\/p>\n<p>  62.21.28.1\u57df\u540da.com<br \/>  62.21.28.1\u57df\u540db.com<br \/>  62.21.28.1\u57df\u540dc.com<\/p>\n<p>  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>darius<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ed9\u4f60\u63d0\u9192\u4e86\uff0c\/\u91cd\u590d\u4e86\uff0c\u4f60\u770b\u8fd8\u5728\u54ea\u914d\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>0nline<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tlocation\u540e\u9762\u52a0\u7a7a\u683c\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>leftgg<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t0nline \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-15 15:04<br \/>  location\u540e\u9762\u52a0\u7a7a\u683c<\/p>\n<p> \u6709\u7a7a\u683c\u7684\uff0c\u800c\u4e14\u76f4\u63a5\u7528\u5b98\u65b9\uff0c\u6211\u6ca1\u6709\u4efb\u4f55\u6539\u52a8\u7684\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>leftgg<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tdarius \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-15 15:03<br \/>  \u7ed9\u4f60\u63d0\u9192\u4e86\uff0c\/\u91cd\u590d\u4e86\uff0c\u4f60\u770b\u8fd8\u5728\u54ea\u914d\u4e86<\/p>\n<p> nginx.conf\u8fd9\u4e2a\u91cc\u9762\u67e5\u627e\u662f\u5426\u6709 \/\u91cd\u590d\u5417\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u674e\u4e91\u9f99<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u4e2a\u5c31\u4e0d\u77e5\u9053\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>0nline<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5c4f\u853d\u4e0b\u654f\u611f\u8bcd\uff0c\u8d34\u51fa\u6765\u770b\u770b\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>leftgg<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t0nline \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-15 15:11<br \/>  \u5c4f\u853d\u4e0b\u654f\u611f\u8bcd\uff0c\u8d34\u51fa\u6765\u770b\u770b\u3002<\/p>\n<p> \u8fd8\u9700\u8981\u8d34\u5565\uff1f\u6211\u6ca1\u6709\u6539\u4efb\u4f55\u4e1c\u897f\u5440\u9664\u4e86\u57df\u540d\u548cIP\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>leftgg<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t0nline \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-11-15 15:11<br \/>  \u5c4f\u853d\u4e0b\u654f\u611f\u8bcd\uff0c\u8d34\u51fa\u6765\u770b\u770b\u3002<\/p>\n<p> \/www\/server\/nginx\/conf\/nginx.conf<\/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>  stream {<br \/>  &nbsp; &nbsp; log_format tcp_format &#8216;$time_local|$remote_addr|$protocol|$status|$bytes_sent|$bytes_received|$session_time|$upstream_addr|$upstream_bytes_sent|$upstream_bytes_received|$upstream_connect_time&#8217;;<\/p>\n<p>  &nbsp; &nbsp; access_log \/www\/wwwlogs\/tcp-access.log tcp_format;<br \/>  &nbsp; &nbsp; error_log \/www\/wwwlogs\/tcp-error.log;<br \/>  &nbsp; &nbsp; include \/www\/server\/panel\/vhost\/nginx\/tcp\/*.conf;<br \/>  }<\/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 7200;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_send_timeout 7200;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;fastcgi_read_timeout 7200;<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;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;location ~ \/tmp\/ {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; return 403;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<\/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>0nline<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\thttps:\/\/blog.csdn.net\/sunsineq\/article\/details\/115942537<br \/>  \u81ea\u5df1\u770b\u5427\u3002\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>leftgg \u5927\u4f6c\u6709\u8bdd\u8bf4 : (\u6c5f&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/545944"}],"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=545944"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/545944\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545944"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}