mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
some fixes for ustreamer
This commit is contained in:
@@ -9,6 +9,7 @@ error_log /dev/null crit;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
use epoll;
|
||||
multi_accept on;
|
||||
}
|
||||
|
||||
http {
|
||||
@@ -19,6 +20,8 @@ http {
|
||||
charset utf-8;
|
||||
|
||||
sendfile on;
|
||||
tcp_nodelay on;
|
||||
tcp_nopush on;
|
||||
keepalive_timeout 10;
|
||||
|
||||
client_body_temp_path /tmp/nginx.client_body_temp;
|
||||
@@ -116,6 +119,7 @@ http {
|
||||
rewrite /streamer/?(.*) /$1 break;
|
||||
proxy_pass http://ustreamer;
|
||||
include /etc/nginx/proxy-params.conf;
|
||||
postpone_output 0;
|
||||
proxy_buffering off;
|
||||
proxy_ignore_headers X-Accel-Buffering;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user