Consistently use spaces for indentation.

parent 045a9608
...@@ -2,9 +2,9 @@ daemon off; ...@@ -2,9 +2,9 @@ daemon off;
worker_processes 4; worker_processes 4;
events { events {
use epoll; use epoll;
accept_mutex on; accept_mutex on;
worker_connections 1024; worker_connections 1024;
} }
http { http {
...@@ -12,26 +12,26 @@ http { ...@@ -12,26 +12,26 @@ http {
gzip_comp_level 2; gzip_comp_level 2;
gzip_min_length 512; gzip_min_length 512;
server_tokens off; server_tokens off;
access_log logs/access.log; access_log logs/access.log;
error_log stderr; error_log stderr;
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
sendfile on; sendfile on;
#Must read the body in 5 seconds. #Must read the body in 5 seconds.
client_body_timeout 5; client_body_timeout 5;
upstream app_server { upstream app_server {
server unix:/tmp/nginx.socket fail_timeout=0; server unix:/tmp/nginx.socket fail_timeout=0;
} }
server { server {
listen <%= ENV["PORT"] %>; listen <%= ENV["PORT"] %>;
server_name _; server_name _;
keepalive_timeout 5; keepalive_timeout 5;
root public/; root public/;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment