mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed mjpg stucking
This commit is contained in:
parent
cc268f5a2a
commit
1e47b50b54
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user