mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 02:51:53 +08:00
fixed mjpg stucking
This commit is contained in:
@@ -71,6 +71,8 @@ http {
|
|||||||
location /streamer {
|
location /streamer {
|
||||||
rewrite /streamer/?(.*) /$1 break;
|
rewrite /streamer/?(.*) /$1 break;
|
||||||
proxy_pass http://mjpg_streamer;
|
proxy_pass http://mjpg_streamer;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_ignore_headers X-Accel-Buffering;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ http {
|
|||||||
location /streamer {
|
location /streamer {
|
||||||
rewrite /streamer/?(.*) /$1 break;
|
rewrite /streamer/?(.*) /$1 break;
|
||||||
proxy_pass http://mjpg_streamer;
|
proxy_pass http://mjpg_streamer;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_ignore_headers X-Accel-Buffering;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user