diff options
-rw-r--r-- | kvmd/configs/nginx/nginx.conf | 2 | ||||
-rw-r--r-- | kvmd/testenv/nginx.conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/kvmd/configs/nginx/nginx.conf b/kvmd/configs/nginx/nginx.conf index 05e07047..51c52c46 100644 --- a/kvmd/configs/nginx/nginx.conf +++ b/kvmd/configs/nginx/nginx.conf @@ -71,6 +71,8 @@ http { location /streamer { rewrite /streamer/?(.*) /$1 break; proxy_pass http://mjpg_streamer; + proxy_buffering off; + proxy_ignore_headers X-Accel-Buffering; } } } diff --git a/kvmd/testenv/nginx.conf b/kvmd/testenv/nginx.conf index 459feeb5..c9322517 100644 --- a/kvmd/testenv/nginx.conf +++ b/kvmd/testenv/nginx.conf @@ -71,6 +71,8 @@ http { location /streamer { rewrite /streamer/?(.*) /$1 break; proxy_pass http://mjpg_streamer; + proxy_buffering off; + proxy_ignore_headers X-Accel-Buffering; } } } |