Commit 2574cab5 by Frank Mai Committed by Alena Prokharchyk

Remove nginx proxy_buffer from Monitoring

**Problem:** Buffering proxy data causes client to receive slow **Solution:** Disable buffer via `proxy_buffering off;` to response client directly **Issue:** https://github.com/rancher/rancher/issues/19689
parent c5ddab3f
...@@ -59,11 +59,7 @@ data: ...@@ -59,11 +59,7 @@ data:
proxy_connect_timeout 10; proxy_connect_timeout 10;
proxy_read_timeout 180; proxy_read_timeout 180;
proxy_send_timeout 5; proxy_send_timeout 5;
proxy_buffer_size 16k; proxy_buffering off;
proxy_buffers 16 16k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_temp_path /tmp/temp_dir;
proxy_cache_path /tmp/nginx levels=1:2 keys_zone=my_zone:100m inactive=1d max_size=10g; proxy_cache_path /tmp/nginx levels=1:2 keys_zone=my_zone:100m inactive=1d max_size=10g;
server { server {
......
...@@ -41,11 +41,7 @@ data: ...@@ -41,11 +41,7 @@ data:
proxy_connect_timeout 10; proxy_connect_timeout 10;
proxy_read_timeout 180; proxy_read_timeout 180;
proxy_send_timeout 5; proxy_send_timeout 5;
proxy_buffer_size 16k; proxy_buffering off;
proxy_buffers 16 16k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_temp_path /tmp/temp_dir;
proxy_cache_path /tmp/nginx levels=1:2 keys_zone=my_zone:100m inactive=1d max_size=10g; proxy_cache_path /tmp/nginx levels=1:2 keys_zone=my_zone:100m inactive=1d max_size=10g;
server { server {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment