json data returned by the service is too large, nginx can not be returned to the client

Phenomenon: request the same server, N plurality of interfaces, only one interface is not returned; see from the log, the service request is to the rear, and returns

 

Solution: Configure nginx buffer size

### Nginx buffer size 
proxy_buffer_size 5m; 
### buffers the size of each the Response Number 
proxy_buffers 1024 64K;

reference:

https://www.jianshu.com/p/5cc8d2f98f84

Guess you like

Origin www.cnblogs.com/dannyyao/p/11240178.html