Nginx работает в связке с FastGCI, Wordpress. Выдает такую ошибку в лог файл каждый раз, когда в URL запроса есть параметры после знака ?. Для чистых URL или скриптов без параметров ошибки нет. Не могу понять в чем дело, и какой там еще JavaScript может быть. Вот небольшой участок лога:
2017/10/15 20:00:23 [error] 17235#17235: *12299421 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 37.54.4.90, server: losst.ru, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru", referrer: "https://losst.ru/ustanovka-telegram-ubuntu-16-04"
2017/10/15 20:00:24 [error] 17235#17235: *12299421 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 37.54.4.90, server: losst.ru, request: "GET /tipy-uyazvimostej-sajtov HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru", referrer: "https://losst.ru/"
2017/10/15 20:00:25 [error] 17235#17235: *12299421 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 37.54.4.90, server: losst.ru, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru", referrer: "https://losst.ru/ustanovka-telegram-ubuntu-16-04"
2017/10/15 20:00:52 [error] 17235#17235: *12297946 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 185.91.178.233, server: losst.ru, request: "GET /?s=composer HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru", referrer: "https://losst.ru/ustanovka-lamp-ubuntu-16-04"
2017/10/15 20:00:54 [error] 17233#17233: *12299665 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 66.249.91.253, server: losst.ru, request: "GET /?s=composer HTTP/1.1", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru"
2017/10/15 20:04:24 [error] 17232#17232: *12300335 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 128.70.38.156, server: losst.ru, request: "GET /?s=TOUCH HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru", referrer: "https://losst.ru/"
2017/10/15 20:05:21 [error] 17233#17233: *12301017 FastCGI sent in stderr: "PHP message: script not found:<script type="text/javascript"></script>" while reading response header from upstream, client: 178.95.124.76, server: losst.ru, request: "GET /?s=%D0%B2%D1%8B%D0%B2%D0%B5%D1%81%D1%82%D0%B8+%D1%81%D1%82%D1%80%D0%BE%D0%BA%D1%83 HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/losst.sock:", host: "losst.ru", referrer: "https://losst.ru/komanda-echo-v-linux"
Вот участок конфигурации Nginx, который отвечает за обработку PHP запросов:
location @php {
fastcgi_index index.php;
fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f admin@losst.ru";
fastcgi_pass unix:/var/www/php-fpm/losst.sock;
# fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
try_files $uri =404;
include fastcgi_params;
}