Sha256: 1939f5f7ddae1ae3c5d937b631e28b1bc80715e333845e24b3fabc0cb62e6e83

Contents?: true

Size: 1.56 KB

Versions: 29

Compression:

Stored size: 1.56 KB

Contents

worker_processes  2;

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

events {
    worker_connections  1024;
}

http {
    include            <%= TEMPLATE_DIR %>/mime.types;
    default_type       application/octet-stream;
    sendfile           on;
    keepalive_timeout  65;
    
    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_default_user <%= CONFIG['default_user'] %>;
    passenger_default_group <%= CONFIG['default_group'] %>;

    <% 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

29 entries across 29 versions & 4 rubygems

Version Path
passenger-3.0.21 test/stub/nginx/nginx.conf.erb
passenger-3.9.2.beta test/stub/nginx/nginx.conf.erb
passenger-3.0.19 test/stub/nginx/nginx.conf.erb
passenger-3.0.18 test/stub/nginx/nginx.conf.erb
passenger-3.9.1.beta test/stub/nginx/nginx.conf.erb
passenger-3.0.17 test/stub/nginx/nginx.conf.erb
passenger-3.0.15 test/stub/nginx/nginx.conf.erb
passenger-3.0.14 test/stub/nginx/nginx.conf.erb
passenger-3.0.13 test/stub/nginx/nginx.conf.erb
passenger-3.0.12 test/stub/nginx/nginx.conf.erb
yspassenger-3.0.12 test/stub/nginx/nginx.conf.erb
passenger-3.0.11 test/stub/nginx/nginx.conf.erb
passenger-3.0.10 test/stub/nginx/nginx.conf.erb
passenger-3.0.9 test/stub/nginx/nginx.conf.erb
passenger-3.0.8 test/stub/nginx/nginx.conf.erb
passenger-3.0.7 test/stub/nginx/nginx.conf.erb
passenger-3.0.6 test/stub/nginx/nginx.conf.erb
passenger-3.0.5 test/stub/nginx/nginx.conf.erb
passenger-3.0.4 test/stub/nginx/nginx.conf.erb
passenger-3.0.3 test/stub/nginx/nginx.conf.erb