Sha256: 4ab37454fc9dd84840d66d1e08f800b309a151cb3cf64825eb8434f3a44caf4f

Contents?: true

Size: 592 Bytes

Versions: 43

Compression:

Stored size: 592 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 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

43 entries across 43 versions & 2 rubygems

Version Path
passenger-6.0.7 resources/templates/standalone/global.erb
passenger-6.0.6 resources/templates/standalone/global.erb
passenger-6.0.5 resources/templates/standalone/global.erb
passenger-6.0.4 resources/templates/standalone/global.erb
passenger-6.0.3 resources/templates/standalone/global.erb
passenger-6.0.2 resources/templates/standalone/global.erb
passenger-6.0.1 resources/templates/standalone/global.erb
passenger-6.0.0 resources/templates/standalone/global.erb
passenger-5.3.7 resources/templates/standalone/global.erb
passenger-5.3.6 resources/templates/standalone/global.erb
passenger-5.3.5 resources/templates/standalone/global.erb
passenger-5.3.4 resources/templates/standalone/global.erb
passenger-5.3.3 resources/templates/standalone/global.erb
passenger-5.3.2 resources/templates/standalone/global.erb
passenger-5.3.1 resources/templates/standalone/global.erb
passenger-5.3.0 resources/templates/standalone/global.erb
passenger-5.2.3 resources/templates/standalone/global.erb
passenger-5.2.2 resources/templates/standalone/global.erb
passenger-5.2.1 resources/templates/standalone/global.erb
passenger-5.2.0 resources/templates/standalone/global.erb