nginx.conf.erb 665 Bytes
user <%= @user %>;
worker_processes  <%= @worker_processes  %>;

<% if @error_log %>
error_log  <%= @error_log %>;
<% end %>
<% if @pid_file %>
pid        <%= @pid_file %>;
<% end %>

events {
    worker_connections  <%= @worker_connections  %>;
}

http {
    include       /etc/nginx/mime.types;

    <% if @access_log %>
    access_log	<%= @access_log %>;
    <% end %>

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    tcp_nodelay        on;

    gzip  on;
    gzip_disable "MSIE [1-6]\.(?!.*SV1)";

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;

    server_tokens off;
}