Process Flow - Proxy buffering
Client sends request
Nginx receives request
Check proxy_buffering setting
Buffer response
Send buffered
response to client
End
Nginx receives a client request and checks if proxy buffering is enabled. If yes, it buffers the response from the backend before sending it to the client; if no, it streams the response directly.