I needed to ad this to config:
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
Hello @Gene!
Just add those lines before the closing } sign of the location block:
proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k;