Unify nginx configuration style

This commit is contained in:
Kristóf Tóth 2018-04-17 15:14:02 +02:00
parent 13e90dde41
commit b592a1625a
2 changed files with 3 additions and 5 deletions

View File

@ -3,4 +3,4 @@ location = /terminal {
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
} }

View File

@ -1,13 +1,11 @@
worker_processes auto; worker_processes auto;
pid /tmp/nginx.pid; pid /tmp/nginx.pid;
events events {
{
worker_connections 1024; worker_connections 1024;
} }
http http {
{
sendfile on; sendfile on;
tcp_nopush on; tcp_nopush on;
tcp_nodelay on; tcp_nodelay on;