Sha256: 672c8f15a484b86ede754f28a91f17b221f18a8435152dd715dd517616bc1e3e

Contents?: true

Size: 1.89 KB

Versions: 11

Compression:

Stored size: 1.89 KB

Contents

worker_processes  2;

error_log <%= @nginx_root %>/../test.log;
pid       <%= @nginx_root %>/nginx.pid;

# Makes integration tests work when run in a CentOS container, with Node.js
# and Python installed through SCL.
env PATH;
env LD_LIBRARY_PATH;
env PYTHONPATH;

events {
    worker_connections  1024;
}

http {
    include            <%= TEMPLATE_DIR %>/mime.types;
    default_type       application/octet-stream;
    sendfile           on;
    keepalive_timeout  65;
    server_names_hash_bucket_size 64;
    
    log_format  main  '$remote_addr - $remote_user [$time_local] $request '
                      '"$status" $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';
    access_log <%= @nginx_root %>/access.log main;
    
    passenger_root <%= @passenger_root %>;
    passenger_ruby <%= PlatformInfo.ruby_command %>;
    passenger_nodejs <%= PlatformInfo.find_command('node') %>;
    passenger_default_user <%= CONFIG['default_user'] %>;
    passenger_default_group <%= CONFIG['default_group'] %>;
    passenger_max_pool_size <%= @max_pool_size %>;
    passenger_log_level 3;

    <% for server in @servers %>
        server {
            listen <%= @port %>;
            <% server.values.each_pair do |key, value| %>
                <%= key %> <%= value %>;
            <% end %>
            <%= server.extra %>
        }
    <% end %>
    
    # HTTPS server
    #
    #server {
    #    listen       443;
    #    server_name  localhost;

    #    ssl                  on;
    #    ssl_certificate      cert.pem;
    #    ssl_certificate_key  cert.key;

    #    ssl_session_timeout  5m;

    #    ssl_protocols  SSLv2 SSLv3 TLSv1;
    #    ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
    #    ssl_prefer_server_ciphers   on;

    #    location / {
    #        root   html;
    #        index  index.html index.htm;
    #    }
    #}

}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
passenger-4.0.60 test/stub/nginx/nginx.conf.erb
passenger-4.0.59 test/stub/nginx/nginx.conf.erb
passenger-4.0.58 test/stub/nginx/nginx.conf.erb
passenger-4.0.57 test/stub/nginx/nginx.conf.erb
passenger-4.0.56 test/stub/nginx/nginx.conf.erb
passenger-4.0.55 test/stub/nginx/nginx.conf.erb
passenger-4.0.53 test/stub/nginx/nginx.conf.erb
passenger-4.0.52 test/stub/nginx/nginx.conf.erb
passenger-4.0.51 test/stub/nginx/nginx.conf.erb
passenger-4.0.50 test/stub/nginx/nginx.conf.erb
passenger-4.0.49 test/stub/nginx/nginx.conf.erb