cdn+hyper cache导致ajax-comment不可用 解决办法
cdn+hyper cache导致ajax-comment不可用 解决办法 错误: {“ERROR”:”GET FROM SOURCE FAILED: E405″} ,七牛CDN导致评论失效 修改hyper cache如图: //ajax-comment $buffer = str_replace('http://7sbs55.com1.z0.glb.clouddn.com/wp-content/themes/Ality/js/comments-ajax.js','http://dy.ziyuanba.cc/wp-content/themes/Ality/js/comments-ajax.js',$buffer);
wordpress nginx 404
server { listen 80; server_name blog.peos.cn uol123.com; index index.php index.html; root /alidata/www/uol123; location ~ .*\.(php|php5)?$ { fastcgi_pass unix:/tmp/php-cgi.sock; #fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 1h; } #伪静态规则 if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.p...