crowbar/crowbar-core

View on GitHub
chef/cookbooks/provisioner/templates/default/base-nginx.conf.erb

Summary

Maintainability
Test Coverage
worker_processes 4;
pid <%=@pidfile%>;

events {
       worker_connections 4000;
       use epoll;
}

http {
     include mime.types;
     default_type application/octet-stream;
     sendfile on;
     access_log <%=@logfile%>;
     error_log <%=@logfile%>;
     tcp_nopush on;
     tcp_nodelay on;
     types_hash_max_size 8192;

     server {
             listen <%=@port%>;
        root <%=@docroot%>;
        autoindex on;
     }
}