I have already found an error in the site engine code. The problem was that I did not expect that the CMC developers would make a gross mistake - they would give data before the header() function. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291303,291309#msg-291309