Hi.
You're probably running on PHP8, so Nginx's default settings make this work.
I tried changing the buffering mode and it worked, so I've posted the steps in the entry below.
https://dev.classmethod.jp/articles/app-service-on-linux-php-flush-buffering/
try it.
Also, I think you should review the timeout value at the beginning from the viewpoint of the Nginx setting value.