From b592a1625a5fe70daa3ba4212a21828b159327dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Tue, 17 Apr 2018 15:14:02 +0200 Subject: [PATCH] Unify nginx configuration style --- nginx/components/terminal.conf | 2 +- nginx/nginx.conf | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nginx/components/terminal.conf b/nginx/components/terminal.conf index 1d906a0..691ec5c 100644 --- a/nginx/components/terminal.conf +++ b/nginx/components/terminal.conf @@ -3,4 +3,4 @@ location = /terminal { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - } +} diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 5d1e5ec..ded5d89 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -1,13 +1,11 @@ worker_processes auto; pid /tmp/nginx.pid; -events -{ +events { worker_connections 1024; } -http -{ +http { sendfile on; tcp_nopush on; tcp_nodelay on;