Wordpress 网站域名已更改,jQuery 中断;基于 nginx

Wordpress 网站域名已更改,jQuery 中断;基于 nginx

尝试排除故障,为什么在更改 Wordpress 网站 URL 中的域后 jQuery 无法正常工作。我在 nginx 调试日志中收到这些消息...

    2017/10/18 16:01:59 [info] 6657#6657: *495 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while reading upstream, client: 221.234.103.135, server: example.com, request: "GET /wp-includes/js/wp-emoji-release.min.js?ver=4.8.2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "example.com", referrer: "http://example.com/";
    2017/10/18 16:02:03 [info] 6657#6657: *498 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too (32: Broken pipe) while reading upstream, client: 221.234.103.135, server: example.com, request: "GET /wp-includes/js/jquery/jquery.js?ver=1.12.4 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "example.com", referrer: "http://example.com/";
    2017/10/18 16:02:03 [info] 6657#6657: *506 client 221.234.103.135 closed keepalive connection
    2017/10/18 16:02:04 [info] 6657#6657: *504 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too (32: Broken pipe) while reading upstream, client: 221.234.103.135, server: example.com, request: "GET /wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "example.com", referrer: "http://example.com/";
    2017/10/18 16:02:04 [info] 6657#6657: *496 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while reading upstream, client: 221.234.103.135, server: example.com, request: "GET /wp-includes/js/wp-embed.min.js?ver=4.8.2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "example.com", referrer: "http://example.com/";
    2017/10/18 16:02:04 [info] 6657#6657: *507 client 221.234.103.135 closed keepalive connection

对配置所做的唯一更改是 nginx 服务器地址和 Wordpress 站点 URL。站点运行正常,但 jQuery 不起作用。

有任何想法吗?

相关内容