summaryrefslogtreecommitdiff
path: root/configs/nginx/nginx.conf
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-09-28 05:06:23 +0300
committerDevaev Maxim <[email protected]>2018-09-28 06:13:38 +0300
commit054f8e44dbc49a458d22a1d8d5a588a9a831761c (patch)
tree2d67b1ac32b4e8a43e69bd6d2c5bf6ab1fda787f /configs/nginx/nginx.conf
parent8fd196bde84c1b396f54cd670e2767d1ed4068ee (diff)
some fixes for ustreamer
Diffstat (limited to 'configs/nginx/nginx.conf')
-rw-r--r--configs/nginx/nginx.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf
index f0d6965b..a06ced1b 100644
--- a/configs/nginx/nginx.conf
+++ b/configs/nginx/nginx.conf
@@ -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;
}