Sha256: 163116b71ec53086a355340610213653593add49b9f80e5d0fc74315adb228f4

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

user <%= @variables[:web_user] ? @variables[:web_user] : 'nginx' %>;
worker_processes auto;

error_log /var/log/nginx/error_log info;

events {
    worker_connections 1024;
    use epoll;

}

http {
    include /etc/nginx/mime.types;
    default_type text/html;

    log_format main
    	       '$remote_addr - $remote_user [$time_local] '
	       '"$request" $status $bytes_sent '
	       '"$http_referer" "$http_user_agent" '
	       '"$gzip_ratio"';

    client_header_timeout 10m;
    client_body_timeout 10m;
    client_max_body_size <%= @variables[:client_max_body_size] ? @variables[:client_max_body_size] : '32mm' %>;
    send_timeout 10m;

    connection_pool_size 256;
    client_header_buffer_size 1k;
    large_client_header_buffers 4 2k;
    request_pool_size 4k;

    gzip on;

    output_buffers 1 32k;
    postpone_output 1460;

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;

    keepalive_timeout 75 20;

    ignore_invalid_headers on;

    index index.html;

    include /home/*/nginx/sites-enabled/*.conf;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danarchy_deploy-0.2.11 templates/services/nginx/nginx.conf.erb
danarchy_deploy-0.2.10 templates/services/nginx/nginx.conf.erb
danarchy_deploy-0.2.9 templates/services/nginx/nginx.conf.erb
danarchy_deploy-0.2.8 templates/services/nginx/nginx.conf.erb