Quantcast
Viewing all articles
Browse latest Browse all 5986

Nginx cuts off part of the response from php-fpm

Ubuntu 16.04. Installed Yandex Odyssey 1.0rc1. I launched it and when I immediately received a response from php, nginx began to cut off the response from php. We checked on the php side, php has no less data and sends all the data. Having decided that the problem was in Yandex Odyssey, I stopped and launched pgbouncer. The same result is truncated data by 2-3 bytes. The Yandex Odyssey was assembled on the continent. Why does nginx truncate the response?

In the PHP code we calculate the length of the content ourselves. If you remove it, everything works fine. Before this there was no error and everything worked with the content-length set in the code. content length required. There are rights to the folders (checked for both nginx and php). I reinstalled both nginx and php-fpm, nothing helped.


Viewing all articles
Browse latest Browse all 5986

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>