Sha256: 9da52a14ed794c55ca44fe37738db5ab1530ab0525c85619e0e1fec3173cfe2f

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

log_format debug '[$time_local] $msec  "$request" $status conn=$connection sent=$bytes_sent body_sent=$body_bytes_sent';
include '<%= PhusionPassenger.resources_dir %>/mime.types';

passenger_root '<%= PhusionPassenger.install_spec %>';
passenger_abort_on_startup_error on;
passenger_ctl pidfiles_to_delete_on_exit '["<%= "#{@working_dir}/temp_dir_toucher.pid" %>"]';
passenger_ctl integration_mode standalone;
passenger_ctl standalone_engine nginx;
passenger_user_switching off;

<% if Process.euid == 0 %>
    <% if @options[:ruby] %>
        passenger_ruby <%= @options[:ruby] %>;
    <% else %>
        passenger_ruby <%= PlatformInfo.ruby_command %>;
    <% end %>
    <% if @options[:user] %>
        passenger_user <%= @options[:user] %>;
        passenger_default_user <%= @options[:user] %>;
    <% else %>
        passenger_user <%= current_user %>;
        passenger_default_user <%= current_user %>;
    <% end %>
<% end %>

<%= nginx_http_option(:socket_backlog) %>
<%= nginx_http_option(:python) %>
<%= nginx_http_option(:nodejs) %>
<%= nginx_http_option(:log_level) %>
<%= nginx_http_option(:max_pool_size) %>
<%= nginx_http_option(:pool_idle_time) %>
<%= nginx_http_option(:max_preloader_idle_time) %>
<%= nginx_http_option(:turbocaching) %>
<%= nginx_http_option(:instance_registry_dir) %>
<%= nginx_http_option(:disable_security_update_check) %>
<%= nginx_http_option(:security_update_check_proxy) %>
<%= nginx_http_option(:data_buffer_dir) %>
<%= nginx_http_option(:core_file_descriptor_ulimit) %>
<% @options[:ctls].each do |ctl| %>
    passenger_ctl '<%= ctl.split("=", 2)[0] %>' '<%= ctl.split("=", 2)[1] %>';
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
passenger-5.2.1 resources/templates/standalone/http.erb
passenger-5.2.0 resources/templates/standalone/http.erb