Sha256: 6f93e61fd27f44081a45a099531a5dd2ea3922a21aa027f200b201fcb39df845

Contents?: true

Size: 744 Bytes

Versions: 14

Compression:

Stored size: 744 Bytes

Contents

master_process on;
daemon on;

error_log '<%= @options[:log_file] %>' <% if @options[:log_level] >= LVL_DEBUG %>info<% end %>;
pid '<%= @options[:pid_file] %>';

<% if @options[:abort_websockets_on_process_shutdown].nil? || @options[:abort_websockets_on_process_shutdown] %>
worker_shutdown_timeout 10;
<% end %>

<% if Process.euid == 0 %>
    <% if @options[:user] %>
        <%# Run workers as the given user. The master process will always run as root and will be able to bind to any port. %>
        user <%= @options[:user] %> <%= default_group_for(@options[:user]) %>;
    <% else %>
        <%# Prevent running Nginx workers as nobody. %>
        user <%= current_user %> <%= default_group_for(current_user) %>;
    <% end %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
passenger-6.0.23 resources/templates/standalone/global.erb
passenger-6.0.20 resources/templates/standalone/global.erb
passenger-6.0.19 resources/templates/standalone/global.erb
passenger-6.0.18 resources/templates/standalone/global.erb
passenger-6.0.17 resources/templates/standalone/global.erb
passenger-6.0.16 resources/templates/standalone/global.erb
passenger-6.0.15 resources/templates/standalone/global.erb
passenger-6.0.14 resources/templates/standalone/global.erb
passenger-6.0.13 resources/templates/standalone/global.erb
passenger-6.0.12 resources/templates/standalone/global.erb
passenger-6.0.11 resources/templates/standalone/global.erb
passenger-6.0.10 resources/templates/standalone/global.erb
passenger-6.0.9 resources/templates/standalone/global.erb
passenger-6.0.8 resources/templates/standalone/global.erb