Sha256: 8c388afe3dbee9e97da32c3884ea40f672efb8b12492316653b8378ae802760d

Contents?: true

Size: 1.11 KB

Versions: 11

Compression:

Stored size: 1.11 KB

Contents

# You may add here your
# server {
#   ...
# }
# statements for each of your virtual hosts


server {
    listen   80;
    server_name .<%= app_name %>.brainberry.com.ua;

    server_tokens off;

    gzip             on;
    gzip_proxied     any;
    gzip_min_length  1100;
    gzip_buffers     12 4k;
    gzip_types text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    client_max_body_size	200M;
    client_body_buffer_size	128k;
    client_header_timeout	60;
    client_body_timeout		260;
    send_timeout		260;
    keepalive_timeout		60;

    large_client_header_buffers  4 4k;
    client_header_buffer_size 1k;

    connection_pool_size 256;
    ignore_invalid_headers on;
    postpone_output 1460;
    output_buffers 4 32k;
    request_pool_size 4k;

    passenger_enabled on;
    rails_env production;
#    rack_env production;

    root    <%= app_path %>/public;

    location ~ /\.[^\/]+ {
        return 404;
    }

    location ~* ^.+\.(jpg|jpeg|gif|png|css|js|swf|ico|mov|flv|fla|pdf|zip|rar|doc|xls)$
    {
        expires 12h;
        add_header  Cache-Control  private;
    }
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
sunrise-core-0.1.5 lib/generators/sunrise/templates/config/nginx-config-passenger
sunrise-core-0.1.4 lib/generators/sunrise/templates/config/nginx-config-passenger
sunrise-core-0.1.3 lib/generators/sunrise/templates/config/nginx-config-passenger
sunrise-core-0.1.2 lib/generators/sunrise/templates/config/nginx-config-passenger
sunrise-core-0.1.1 lib/generators/sunrise/templates/config/nginx-config-passenger
sunrise-core-0.1.0 lib/generators/sunrise/templates/config/nginx-config-passenger
freeberry-0.3.0 lib/generators/freeberry/base/templates/config/nginx-config-passenger
freeberry-0.2.9 lib/generators/freeberry/base/templates/config/nginx-config-passenger
freeberry-0.2.7 lib/generators/freeberry/base/templates/config/nginx-config-passenger
freeberry-0.2.6 lib/generators/freeberry/base/templates/config/nginx-config-passenger
freeberry-0.2.5 lib/generators/freeberry/base/templates/config/nginx-config-passenger