passenger 6.1.4 → 6.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -1
- data/Rakefile +1 -1
- data/build/agent.rb +15 -15
- data/build/apache2.rb +18 -18
- data/build/basics.rb +1 -1
- data/build/common_library.rb +21 -20
- data/build/cxx_tests.rb +19 -19
- data/build/integration_tests.rb +3 -3
- data/build/misc.rb +10 -9
- data/build/nginx.rb +12 -12
- data/build/oxt_tests.rb +7 -7
- data/build/packaging.rb +11 -11
- data/build/ruby_extension.rb +3 -3
- data/build/ruby_tests.rb +1 -1
- data/build/schema_printer.rb +13 -13
- data/build/support/cplusplus.rb +8 -8
- data/build/support/cxx_dependency_map.rb +622 -622
- data/build/support/general.rb +0 -1
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb +4 -4
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +1 -1
- data/build/test_basics.rb +4 -4
- data/dev/colorize-logs +6 -6
- data/dev/copy_boost_headers +8 -8
- data/dev/index_cxx_dependencies.rb +6 -6
- data/dev/install_scripts_bootstrap_code.rb +4 -4
- data/dev/list_tests +2 -2
- data/dev/nginx_version_sha256 +2 -2
- data/dev/parse_file_descriptor_log +1 -1
- data/passenger.gemspec +4 -4
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/helper-scripts/backtrace-sanitizer.rb +2 -2
- data/src/helper-scripts/download_binaries/extconf.rb +8 -8
- data/src/helper-scripts/meteor-loader.rb +39 -39
- data/src/helper-scripts/rack-loader.rb +1 -0
- data/src/helper-scripts/rack-preloader.rb +2 -1
- data/src/ruby_native_extension/extconf.rb +27 -28
- data/src/ruby_supportlib/phusion_passenger/abstract_installer.rb +27 -27
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +5 -4
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +9 -8
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +24 -24
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +526 -526
- data/src/ruby_supportlib/phusion_passenger/apache2/config_utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +105 -105
- data/src/ruby_supportlib/phusion_passenger/config/about_command.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/config/agent_compiler.rb +7 -6
- data/src/ruby_supportlib/phusion_passenger/config/api_call_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/compile_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/compile_nginx_engine_command.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/config/detach_process_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +17 -17
- data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +18 -18
- data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +10 -10
- data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +12 -12
- data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +24 -23
- data/src/ruby_supportlib/phusion_passenger/config/main.rb +26 -26
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +5 -4
- data/src/ruby_supportlib/phusion_passenger/config/reopen_logs_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +4 -4
- data/src/ruby_supportlib/phusion_passenger/config/system_properties_command.rb +14 -13
- data/src/ruby_supportlib/phusion_passenger/config/utils.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb +34 -33
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/debug_logging.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +35 -36
- data/src/ruby_supportlib/phusion_passenger/message_channel.rb +17 -16
- data/src/ruby_supportlib/phusion_passenger/message_client.rb +5 -4
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +42 -42
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +548 -548
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +6 -6
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +85 -84
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache_detector.rb +13 -13
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +65 -65
- data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +6 -6
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +10 -10
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb +6 -5
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/apache2.rb +7 -7
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/ruby.rb +7 -7
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/utilities.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +14 -13
- data/src/ruby_supportlib/phusion_passenger/platform_info/networking.rb +27 -26
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +16 -16
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +29 -28
- data/src/ruby_supportlib/phusion_passenger/platform_info/zlib.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info.rb +37 -36
- data/src/ruby_supportlib/phusion_passenger/plugin.rb +3 -3
- data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +16 -15
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/handler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack/out_of_band_gc.rb +5 -4
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +8 -7
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +9 -11
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +27 -26
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +6 -5
- data/src/ruby_supportlib/phusion_passenger/ruby_core_io_enhancements.rb +7 -6
- data/src/ruby_supportlib/phusion_passenger/standalone/app_finder.rb +13 -13
- data/src/ruby_supportlib/phusion_passenger/standalone/command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +351 -351
- data/src/ruby_supportlib/phusion_passenger/standalone/main.rb +11 -11
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +13 -14
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +21 -23
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +4 -4
- data/src/ruby_supportlib/phusion_passenger/standalone/status_command.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/standalone/stop_command.rb +6 -6
- data/src/ruby_supportlib/phusion_passenger/standalone/version_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/download.rb +12 -11
- data/src/ruby_supportlib/phusion_passenger/utils/file_system_watcher.rb +9 -9
- data/src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb +8 -7
- data/src/ruby_supportlib/phusion_passenger/utils/json.rb +7 -6
- data/src/ruby_supportlib/phusion_passenger/utils/native_support_utils.rb +4 -4
- data/src/ruby_supportlib/phusion_passenger/utils/progress_bar.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/shellwords.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/strscan.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/utils/tee_input.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +13 -12
- data/src/ruby_supportlib/phusion_passenger/utils/tmpio.rb +2 -3
- data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +7 -7
- data/src/ruby_supportlib/phusion_passenger/utils.rb +17 -16
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/utils.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +13 -13
- data/src/ruby_supportlib/phusion_passenger.rb +23 -22
- metadata +2 -2
|
@@ -94,747 +94,747 @@ APACHE2_CONFIGURATION_OPTIONS = [
|
|
|
94
94
|
###### Global configuration ######
|
|
95
95
|
|
|
96
96
|
{
|
|
97
|
-
:
|
|
98
|
-
:
|
|
99
|
-
:
|
|
100
|
-
:
|
|
97
|
+
name: 'PassengerRoot',
|
|
98
|
+
type: :string,
|
|
99
|
+
context: :global,
|
|
100
|
+
desc: "The #{PROGRAM_NAME} root folder.",
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
:
|
|
104
|
-
:
|
|
105
|
-
:
|
|
106
|
-
:
|
|
107
|
-
:
|
|
108
|
-
:
|
|
103
|
+
name: 'PassengerCtl',
|
|
104
|
+
type: :string_keyval,
|
|
105
|
+
context: :global,
|
|
106
|
+
field: nil,
|
|
107
|
+
function: 'cmd_passenger_ctl',
|
|
108
|
+
desc: "Set advanced #{PROGRAM_NAME} options.",
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
:
|
|
112
|
-
:
|
|
113
|
-
:
|
|
114
|
-
:
|
|
111
|
+
name: 'PassengerDumpConfigManifest',
|
|
112
|
+
type: :string,
|
|
113
|
+
context: :global,
|
|
114
|
+
desc: "Dump the #{SHORT_PROGRAM_NAME} config manifest to the given file, for debugging purposes.",
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
:
|
|
118
|
-
:
|
|
119
|
-
:
|
|
120
|
-
:
|
|
121
|
-
:
|
|
122
|
-
:
|
|
117
|
+
name: 'PassengerDefaultRuby',
|
|
118
|
+
type: :string,
|
|
119
|
+
context: :global,
|
|
120
|
+
default: DEFAULT_RUBY,
|
|
121
|
+
default_expr: 'DEFAULT_RUBY',
|
|
122
|
+
desc: "#{PROGRAM_NAME}'s default Ruby interpreter to use.",
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
:
|
|
126
|
-
:
|
|
127
|
-
:
|
|
128
|
-
:
|
|
129
|
-
:
|
|
130
|
-
:
|
|
131
|
-
:
|
|
125
|
+
name: 'PassengerLogLevel',
|
|
126
|
+
type: :integer,
|
|
127
|
+
context: :global,
|
|
128
|
+
min_value: 0,
|
|
129
|
+
default: DEFAULT_LOG_LEVEL,
|
|
130
|
+
default_expr: 'DEFAULT_LOG_LEVEL',
|
|
131
|
+
desc: "The #{PROGRAM_NAME} log verbosity.",
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
|
-
:
|
|
135
|
-
:
|
|
136
|
-
:
|
|
137
|
-
:
|
|
138
|
-
:
|
|
134
|
+
name: 'PassengerLogFile',
|
|
135
|
+
type: :string,
|
|
136
|
+
context: :global,
|
|
137
|
+
dynamic_default: "Apache's global error log",
|
|
138
|
+
desc: "The #{PROGRAM_NAME} log file.",
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
:
|
|
142
|
-
:
|
|
143
|
-
:
|
|
144
|
-
:
|
|
145
|
-
:
|
|
141
|
+
name: 'PassengerDisableLogPrefix',
|
|
142
|
+
type: :flag,
|
|
143
|
+
context: :global,
|
|
144
|
+
default: false,
|
|
145
|
+
desc: "Disable prefixing log statements with PID and channel.",
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
:
|
|
149
|
-
:
|
|
150
|
-
:
|
|
151
|
-
:
|
|
152
|
-
:
|
|
153
|
-
:
|
|
154
|
-
:
|
|
148
|
+
name: 'PassengerSocketBacklog',
|
|
149
|
+
type: :integer,
|
|
150
|
+
context: :global,
|
|
151
|
+
min_value: 0,
|
|
152
|
+
default: DEFAULT_SOCKET_BACKLOG,
|
|
153
|
+
default_expr: 'DEFAULT_SOCKET_BACKLOG',
|
|
154
|
+
desc: "The #{PROGRAM_NAME} socket backlog.",
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
|
-
:
|
|
158
|
-
:
|
|
159
|
-
:
|
|
160
|
-
:
|
|
157
|
+
name: 'PassengerFileDescriptorLogFile',
|
|
158
|
+
type: :string,
|
|
159
|
+
context: :global,
|
|
160
|
+
desc: "The #{PROGRAM_NAME} file descriptor log file.",
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
:
|
|
164
|
-
:
|
|
165
|
-
:
|
|
166
|
-
:
|
|
167
|
-
:
|
|
168
|
-
:
|
|
169
|
-
:
|
|
163
|
+
name: 'PassengerMaxPoolSize',
|
|
164
|
+
type: :integer,
|
|
165
|
+
context: :global,
|
|
166
|
+
min_value: 1,
|
|
167
|
+
default: DEFAULT_MAX_POOL_SIZE,
|
|
168
|
+
default_expr: 'DEFAULT_MAX_POOL_SIZE',
|
|
169
|
+
desc: "The maximum number of simultaneously alive application processes.",
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
|
-
:
|
|
173
|
-
:
|
|
174
|
-
:
|
|
175
|
-
:
|
|
176
|
-
:
|
|
177
|
-
:
|
|
178
|
-
:
|
|
172
|
+
name: 'PassengerPoolIdleTime',
|
|
173
|
+
type: :integer,
|
|
174
|
+
context: :global,
|
|
175
|
+
min_value: 0,
|
|
176
|
+
default: DEFAULT_POOL_IDLE_TIME,
|
|
177
|
+
default_expr: 'DEFAULT_POOL_IDLE_TIME',
|
|
178
|
+
desc: 'The maximum number of seconds that an application may be idle before it gets terminated.',
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
:
|
|
182
|
-
:
|
|
183
|
-
:
|
|
184
|
-
:
|
|
185
|
-
:
|
|
186
|
-
:
|
|
187
|
-
:
|
|
181
|
+
name: 'PassengerResponseBufferHighWatermark',
|
|
182
|
+
type: :integer,
|
|
183
|
+
context: :global,
|
|
184
|
+
min_value: 0,
|
|
185
|
+
default: DEFAULT_RESPONSE_BUFFER_HIGH_WATERMARK,
|
|
186
|
+
default_expr: 'DEFAULT_RESPONSE_BUFFER_HIGH_WATERMARK',
|
|
187
|
+
desc: "The maximum size of the #{PROGRAM_NAME} response buffer.",
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
|
-
:
|
|
191
|
-
:
|
|
192
|
-
:
|
|
193
|
-
:
|
|
194
|
-
:
|
|
190
|
+
name: 'PassengerUserSwitching',
|
|
191
|
+
type: :flag,
|
|
192
|
+
context: :global,
|
|
193
|
+
default: true,
|
|
194
|
+
desc: "Whether to enable user switching support in #{PROGRAM_NAME}.",
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
|
-
:
|
|
198
|
-
:
|
|
199
|
-
:
|
|
200
|
-
:
|
|
201
|
-
:
|
|
202
|
-
:
|
|
197
|
+
name: 'PassengerDefaultUser',
|
|
198
|
+
type: :string,
|
|
199
|
+
context: :global,
|
|
200
|
+
default: PASSENGER_DEFAULT_USER,
|
|
201
|
+
default_expr: 'PASSENGER_DEFAULT_USER',
|
|
202
|
+
desc: "The user that #{PROGRAM_NAME} applications must run as when user switching fails or is disabled.",
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
:
|
|
206
|
-
:
|
|
207
|
-
:
|
|
208
|
-
:
|
|
209
|
-
:
|
|
205
|
+
name: 'PassengerDefaultGroup',
|
|
206
|
+
type: :string,
|
|
207
|
+
context: :global,
|
|
208
|
+
dynamic_default: 'The primary group of PassengerDefaultUser',
|
|
209
|
+
desc: "The group that #{PROGRAM_NAME} applications must run as when user switching fails or is disabled.",
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
|
-
:
|
|
213
|
-
:
|
|
214
|
-
:
|
|
215
|
-
:
|
|
216
|
-
:
|
|
212
|
+
name: 'PassengerDataBufferDir',
|
|
213
|
+
type: :string,
|
|
214
|
+
context: :global,
|
|
215
|
+
dynamic_default: '$TMPDIR, or if not given, /tmp',
|
|
216
|
+
desc: "The directory that #{PROGRAM_NAME} data buffers should be stored into.",
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
|
-
:
|
|
220
|
-
:
|
|
221
|
-
:
|
|
222
|
-
:
|
|
223
|
-
:
|
|
219
|
+
name: 'PassengerInstanceRegistryDir',
|
|
220
|
+
type: :string,
|
|
221
|
+
context: :global,
|
|
222
|
+
dynamic_default: 'Either /var/run/passenger-instreg, $TMPDIR, or /tmp (see docs)',
|
|
223
|
+
desc: "The directory to register the #{PROGRAM_NAME} instance to.",
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
|
-
:
|
|
227
|
-
:
|
|
228
|
-
:
|
|
229
|
-
:
|
|
230
|
-
:
|
|
226
|
+
name: 'PassengerSpawnDir',
|
|
227
|
+
type: :string,
|
|
228
|
+
context: :global,
|
|
229
|
+
dynamic_default: 'Either $TMPDIR or /tmp',
|
|
230
|
+
desc: "The directory for #{PROGRAM_NAME} used during child spawning.",
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
:
|
|
234
|
-
:
|
|
235
|
-
:
|
|
236
|
-
:
|
|
237
|
-
:
|
|
233
|
+
name: 'PassengerDisableSecurityUpdateCheck',
|
|
234
|
+
type: :flag,
|
|
235
|
+
context: :global,
|
|
236
|
+
default: false,
|
|
237
|
+
desc: "Whether to disable the #{PROGRAM_NAME} security update check & notification.",
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
:
|
|
241
|
-
:
|
|
242
|
-
:
|
|
243
|
-
:
|
|
240
|
+
name: 'PassengerSecurityUpdateCheckProxy',
|
|
241
|
+
type: :string,
|
|
242
|
+
context: :global,
|
|
243
|
+
desc: "Use specified HTTP/SOCKS proxy for the #{PROGRAM_NAME} security update check.",
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
|
-
:
|
|
247
|
-
:
|
|
248
|
-
:
|
|
249
|
-
:
|
|
250
|
-
:
|
|
246
|
+
name: 'PassengerDisableAnonymousTelemetry',
|
|
247
|
+
type: :flag,
|
|
248
|
+
context: :global,
|
|
249
|
+
default: false,
|
|
250
|
+
desc: "Whether to disable #{PROGRAM_NAME} anonymous telemetry.",
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
|
-
:
|
|
254
|
-
:
|
|
255
|
-
:
|
|
256
|
-
:
|
|
253
|
+
name: 'PassengerAnonymousTelemetryProxy',
|
|
254
|
+
type: :string,
|
|
255
|
+
context: :global,
|
|
256
|
+
desc: "Use specified HTTP/SOCKS proxy for #{PROGRAM_NAME} anonymous telemetry collection.",
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
|
-
:
|
|
260
|
-
:
|
|
261
|
-
:
|
|
262
|
-
:
|
|
263
|
-
:
|
|
264
|
-
:
|
|
259
|
+
name: 'PassengerStatThrottleRate',
|
|
260
|
+
type: :integer,
|
|
261
|
+
context: :global,
|
|
262
|
+
default: DEFAULT_STAT_THROTTLE_RATE,
|
|
263
|
+
default_expr: 'DEFAULT_STAT_THROTTLE_RATE',
|
|
264
|
+
desc: 'Limit the number of stat calls to once per given seconds.',
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
|
-
:
|
|
268
|
-
:
|
|
269
|
-
:
|
|
270
|
-
:
|
|
271
|
-
:
|
|
267
|
+
name: 'PassengerPreStart',
|
|
268
|
+
type: :string_set,
|
|
269
|
+
context: :global,
|
|
270
|
+
field: 'prestartURLs',
|
|
271
|
+
desc: 'Prestart the given web applications during startup.',
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
|
-
:
|
|
275
|
-
:
|
|
276
|
-
:
|
|
277
|
-
:
|
|
278
|
-
:
|
|
274
|
+
name: 'PassengerTurbocaching',
|
|
275
|
+
type: :flag,
|
|
276
|
+
context: :global,
|
|
277
|
+
default: true,
|
|
278
|
+
desc: "Whether to enable turbocaching in #{PROGRAM_NAME}.",
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
|
-
:
|
|
282
|
-
:
|
|
283
|
-
:
|
|
284
|
-
:
|
|
285
|
-
:
|
|
281
|
+
name: 'PassengerOldRouting',
|
|
282
|
+
type: :flag,
|
|
283
|
+
context: :global,
|
|
284
|
+
default: false,
|
|
285
|
+
desc: "Whether to revert to old routing behaviour in #{PROGRAM_NAME}.",
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
|
-
:
|
|
289
|
-
:
|
|
290
|
-
:
|
|
291
|
-
:
|
|
292
|
-
:
|
|
288
|
+
name: 'PassengerShowVersionInHeader',
|
|
289
|
+
type: :flag,
|
|
290
|
+
context: :global,
|
|
291
|
+
default: true,
|
|
292
|
+
desc: "Whether to show the #{PROGRAM_NAME} version number in the X-Powered-By header.",
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
|
-
:
|
|
296
|
-
:
|
|
297
|
-
:
|
|
298
|
-
:
|
|
299
|
-
:
|
|
300
|
-
:
|
|
295
|
+
name: 'PassengerMaxInstancesPerApp',
|
|
296
|
+
type: :integer,
|
|
297
|
+
context: :global,
|
|
298
|
+
min_value: 0,
|
|
299
|
+
default: 0,
|
|
300
|
+
desc: 'The maximum number of simultaneously alive application instances a single application may occupy.',
|
|
301
301
|
},
|
|
302
302
|
|
|
303
303
|
|
|
304
304
|
###### Per-application configuration ######
|
|
305
305
|
|
|
306
306
|
{
|
|
307
|
-
:
|
|
308
|
-
:
|
|
309
|
-
:
|
|
310
|
-
:
|
|
311
|
-
:
|
|
312
|
-
:
|
|
307
|
+
name: 'PassengerRuby',
|
|
308
|
+
type: :string,
|
|
309
|
+
default: DEFAULT_RUBY,
|
|
310
|
+
default_expr: 'StaticString()',
|
|
311
|
+
desc: 'The Ruby interpreter to use.',
|
|
312
|
+
header_expression: 'config->mRuby.empty() ? serverConfig.defaultRuby : config->mRuby',
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
|
-
:
|
|
316
|
-
:
|
|
317
|
-
:
|
|
318
|
-
:
|
|
319
|
-
:
|
|
315
|
+
name: 'PassengerPython',
|
|
316
|
+
type: :string,
|
|
317
|
+
default: DEFAULT_PYTHON,
|
|
318
|
+
default_expr: 'DEFAULT_PYTHON',
|
|
319
|
+
desc: 'The Python interpreter to use.',
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
:
|
|
323
|
-
:
|
|
324
|
-
:
|
|
325
|
-
:
|
|
326
|
-
:
|
|
322
|
+
name: 'PassengerNodejs',
|
|
323
|
+
type: :string,
|
|
324
|
+
default: DEFAULT_NODEJS,
|
|
325
|
+
default_expr: 'DEFAULT_NODEJS',
|
|
326
|
+
desc: 'The Node.js command to use.',
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
:
|
|
330
|
-
:
|
|
331
|
-
:
|
|
329
|
+
name: 'PassengerMeteorAppSettings',
|
|
330
|
+
type: :string,
|
|
331
|
+
desc: 'Settings file for (non-bundled) Meteor apps.',
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
|
-
:
|
|
335
|
-
:
|
|
336
|
-
:
|
|
337
|
-
:
|
|
338
|
-
:
|
|
339
|
-
:
|
|
334
|
+
name: 'PassengerBaseURI',
|
|
335
|
+
type: :string_set,
|
|
336
|
+
function: 'cmd_passenger_base_uri',
|
|
337
|
+
field: 'mBaseURIs',
|
|
338
|
+
desc: 'Declare the given base URI as belonging to a web application.',
|
|
339
|
+
header: nil,
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
|
-
:
|
|
343
|
-
:
|
|
344
|
-
:
|
|
345
|
-
:
|
|
342
|
+
name: 'PassengerAppEnv',
|
|
343
|
+
type: :string,
|
|
344
|
+
default: 'production',
|
|
345
|
+
desc: 'The environment under which applications are run.',
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
:
|
|
349
|
-
:
|
|
350
|
-
:
|
|
351
|
-
:
|
|
352
|
-
:
|
|
348
|
+
name: 'PassengerAppType',
|
|
349
|
+
type: :string,
|
|
350
|
+
dynamic_default: 'Autodetected',
|
|
351
|
+
desc: 'Force specific application type.',
|
|
352
|
+
header: nil,
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
|
-
:
|
|
356
|
-
:
|
|
357
|
-
:
|
|
358
|
-
:
|
|
355
|
+
name: 'PassengerAppStartCommand',
|
|
356
|
+
type: :string,
|
|
357
|
+
desc: 'Command string for starting the application.',
|
|
358
|
+
header: nil,
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
|
-
:
|
|
362
|
-
:
|
|
363
|
-
:
|
|
364
|
-
:
|
|
361
|
+
name: 'PassengerStartupFile',
|
|
362
|
+
type: :string,
|
|
363
|
+
dynamic_default: 'Autodetected',
|
|
364
|
+
desc: 'Force specific startup file.',
|
|
365
365
|
},
|
|
366
366
|
{
|
|
367
|
-
:
|
|
368
|
-
:
|
|
369
|
-
:
|
|
370
|
-
:
|
|
371
|
-
:
|
|
372
|
-
:
|
|
367
|
+
name: 'PassengerMinInstances',
|
|
368
|
+
type: :integer,
|
|
369
|
+
min_value: 0,
|
|
370
|
+
default: 1,
|
|
371
|
+
header: 'PASSENGER_MIN_PROCESSES',
|
|
372
|
+
desc: 'The minimum number of application instances to keep when cleaning idle instances.',
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
:
|
|
376
|
-
:
|
|
377
|
-
:
|
|
378
|
-
:
|
|
375
|
+
name: 'PassengerUser',
|
|
376
|
+
type: :string,
|
|
377
|
+
dynamic_default: 'See the user account sandboxing rules',
|
|
378
|
+
desc: 'The user that Ruby applications must run as.',
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
:
|
|
382
|
-
:
|
|
383
|
-
:
|
|
384
|
-
:
|
|
381
|
+
name: 'PassengerGroup',
|
|
382
|
+
type: :string,
|
|
383
|
+
dynamic_default: 'See the user account sandboxing rules',
|
|
384
|
+
desc: 'The group that Ruby applications must run as.',
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
:
|
|
388
|
-
:
|
|
389
|
-
:
|
|
390
|
-
:
|
|
391
|
-
:
|
|
387
|
+
name: 'PassengerMaxRequests',
|
|
388
|
+
type: :integer,
|
|
389
|
+
min_value: 0,
|
|
390
|
+
default: 0,
|
|
391
|
+
desc: 'The maximum number of requests that an application instance may process.',
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
|
-
:
|
|
395
|
-
:
|
|
396
|
-
:
|
|
397
|
-
:
|
|
398
|
-
:
|
|
399
|
-
:
|
|
394
|
+
name: "PassengerStartTimeout",
|
|
395
|
+
type: :integer,
|
|
396
|
+
min_value: 1,
|
|
397
|
+
default: DEFAULT_START_TIMEOUT / 1000,
|
|
398
|
+
default_expr: 'DEFAULT_START_TIMEOUT / 1000',
|
|
399
|
+
desc: 'A timeout for application startup.',
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
|
-
:
|
|
403
|
-
:
|
|
404
|
-
:
|
|
405
|
-
:
|
|
406
|
-
:
|
|
407
|
-
:
|
|
402
|
+
name: "PassengerAppConnectTimeout",
|
|
403
|
+
type: :integer,
|
|
404
|
+
min_value: 1,
|
|
405
|
+
default: DEFAULT_CONNECT_TIMEOUT,
|
|
406
|
+
default_expr: 'DEFAULT_CONNECT_TIMEOUT',
|
|
407
|
+
desc: 'A timeout for application to accept socket connections.',
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
|
-
:
|
|
411
|
-
:
|
|
412
|
-
:
|
|
413
|
-
:
|
|
414
|
-
:
|
|
415
|
-
:
|
|
410
|
+
name: 'PassengerMaxRequestQueueSize',
|
|
411
|
+
type: :integer,
|
|
412
|
+
min_value: 0,
|
|
413
|
+
default: DEFAULT_MAX_REQUEST_QUEUE_SIZE,
|
|
414
|
+
default_expr: 'DEFAULT_MAX_REQUEST_QUEUE_SIZE',
|
|
415
|
+
desc: 'The maximum number of queued requests.',
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
|
-
:
|
|
419
|
-
:
|
|
420
|
-
:
|
|
421
|
-
:
|
|
422
|
-
:
|
|
423
|
-
:
|
|
418
|
+
name: 'PassengerMaxPreloaderIdleTime',
|
|
419
|
+
type: :integer,
|
|
420
|
+
min_value: 0,
|
|
421
|
+
default: DEFAULT_MAX_PRELOADER_IDLE_TIME,
|
|
422
|
+
default_expr: 'DEFAULT_MAX_PRELOADER_IDLE_TIME',
|
|
423
|
+
desc: 'The maximum number of seconds that a preloader process may be idle before it is shutdown.',
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
|
-
:
|
|
427
|
-
:
|
|
428
|
-
:
|
|
429
|
-
:
|
|
426
|
+
name: 'PassengerLoadShellEnvvars',
|
|
427
|
+
type: :flag,
|
|
428
|
+
default: true,
|
|
429
|
+
desc: 'Whether to load environment variables from the shell before running the application.',
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
|
-
:
|
|
433
|
-
:
|
|
434
|
-
:
|
|
435
|
-
:
|
|
432
|
+
name: 'PassengerPreloadBundler',
|
|
433
|
+
type: :flag,
|
|
434
|
+
default: false,
|
|
435
|
+
desc: 'Whether to tell Ruby to load the bundler gem before running the application.',
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
|
-
:
|
|
439
|
-
:
|
|
440
|
-
:
|
|
441
|
-
:
|
|
442
|
-
:
|
|
438
|
+
name: 'PassengerSpawnMethod',
|
|
439
|
+
type: :string,
|
|
440
|
+
dynamic_default: "'smart' for Ruby apps, 'direct' for all other apps",
|
|
441
|
+
desc: 'The spawn method to use.',
|
|
442
|
+
function: 'cmd_passenger_spawn_method',
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
|
-
:
|
|
446
|
-
:
|
|
447
|
-
:
|
|
448
|
-
:
|
|
445
|
+
name: 'PassengerDirectInstanceRequestAddress',
|
|
446
|
+
type: :string,
|
|
447
|
+
default: DEFAULT_BIND_ADDRESS,
|
|
448
|
+
desc: 'The address that Passenger binds to in order to allow sending HTTP requests to individual application processes.',
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
|
-
:
|
|
452
|
-
:
|
|
453
|
-
:
|
|
454
|
-
:
|
|
451
|
+
name: 'PassengerFriendlyErrorPages',
|
|
452
|
+
type: :flag,
|
|
453
|
+
dynamic_default: 'On if PassengerAppEnv is development, off otherwise',
|
|
454
|
+
desc: 'Whether to display friendly error pages when something goes wrong.',
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
|
-
:
|
|
458
|
-
:
|
|
459
|
-
:
|
|
457
|
+
name: 'PassengerCustomErrorPage',
|
|
458
|
+
type: :string,
|
|
459
|
+
desc: 'Path to html file to use for Passenger generated error pages.',
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
|
-
:
|
|
463
|
-
:
|
|
464
|
-
:
|
|
465
|
-
:
|
|
462
|
+
name: 'PassengerRestartDir',
|
|
463
|
+
type: :string,
|
|
464
|
+
default: 'tmp',
|
|
465
|
+
desc: "The directory in which #{PROGRAM_NAME} should look for restart.txt.",
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
|
-
:
|
|
469
|
-
:
|
|
470
|
-
:
|
|
471
|
-
:
|
|
468
|
+
name: 'PassengerAppGroupName',
|
|
469
|
+
type: :string,
|
|
470
|
+
dynamic_default: 'PassengerAppRoot plus PassengerAppEnv',
|
|
471
|
+
desc: 'Application process group name.',
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
|
-
:
|
|
475
|
-
:
|
|
476
|
-
:
|
|
477
|
-
:
|
|
474
|
+
name: 'PassengerMonitorLogFile',
|
|
475
|
+
type: :string_set,
|
|
476
|
+
header: nil,
|
|
477
|
+
desc: 'Log file path to monitor.',
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
|
-
:
|
|
481
|
-
:
|
|
482
|
-
:
|
|
483
|
-
:
|
|
484
|
-
"can handle the given number of concurrent requests per process"
|
|
480
|
+
name: 'PassengerForceMaxConcurrentRequestsPerProcess',
|
|
481
|
+
type: :integer,
|
|
482
|
+
default: -1,
|
|
483
|
+
desc: "Force #{SHORT_PROGRAM_NAME} to believe that an application process " \
|
|
484
|
+
"can handle the given number of concurrent requests per process",
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
|
-
:
|
|
488
|
-
:
|
|
489
|
-
:
|
|
490
|
-
:
|
|
491
|
-
:
|
|
487
|
+
name: 'PassengerAppRoot',
|
|
488
|
+
type: :string,
|
|
489
|
+
dynamic_default: "Parent directory of the associated Apache virtual host's root directory",
|
|
490
|
+
desc: "The application's root directory.",
|
|
491
|
+
header: nil,
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
|
-
:
|
|
495
|
-
:
|
|
496
|
-
:
|
|
497
|
-
:
|
|
498
|
-
:
|
|
499
|
-
:
|
|
494
|
+
name: 'PassengerLveMinUid',
|
|
495
|
+
type: :integer,
|
|
496
|
+
min_value: 0,
|
|
497
|
+
default: DEFAULT_LVE_MIN_UID,
|
|
498
|
+
default_expr: 'DEFAULT_LVE_MIN_UID',
|
|
499
|
+
desc: 'Minimum user ID starting from which entering LVE and CageFS is allowed.',
|
|
500
500
|
},
|
|
501
501
|
|
|
502
502
|
|
|
503
503
|
###### Per-location/per-request configuration ######
|
|
504
504
|
|
|
505
505
|
{
|
|
506
|
-
:
|
|
507
|
-
:
|
|
508
|
-
:
|
|
509
|
-
:
|
|
510
|
-
:
|
|
511
|
-
:
|
|
512
|
-
:
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
:
|
|
516
|
-
:
|
|
517
|
-
:
|
|
518
|
-
:
|
|
519
|
-
:
|
|
520
|
-
:
|
|
521
|
-
:
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
:
|
|
525
|
-
:
|
|
526
|
-
:
|
|
527
|
-
:
|
|
528
|
-
:
|
|
529
|
-
:
|
|
530
|
-
:
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
:
|
|
534
|
-
:
|
|
535
|
-
:
|
|
536
|
-
:
|
|
537
|
-
:
|
|
538
|
-
:
|
|
539
|
-
:
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
:
|
|
543
|
-
:
|
|
544
|
-
:
|
|
545
|
-
:
|
|
546
|
-
:
|
|
547
|
-
:
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
:
|
|
551
|
-
:
|
|
552
|
-
:
|
|
553
|
-
:
|
|
554
|
-
:
|
|
555
|
-
:
|
|
556
|
-
:
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
:
|
|
560
|
-
:
|
|
561
|
-
:
|
|
562
|
-
:
|
|
563
|
-
:
|
|
564
|
-
:
|
|
565
|
-
:
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
:
|
|
569
|
-
:
|
|
570
|
-
:
|
|
571
|
-
:
|
|
572
|
-
:
|
|
573
|
-
:
|
|
574
|
-
:
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
:
|
|
578
|
-
:
|
|
579
|
-
:
|
|
580
|
-
:
|
|
581
|
-
:
|
|
582
|
-
:
|
|
506
|
+
name: 'PassengerErrorOverride',
|
|
507
|
+
type: :flag,
|
|
508
|
+
context: :location,
|
|
509
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
510
|
+
default: false,
|
|
511
|
+
desc: 'Allow Apache to handle error response.',
|
|
512
|
+
header: nil,
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
name: 'PassengerHighPerformance',
|
|
516
|
+
type: :flag,
|
|
517
|
+
context: :location,
|
|
518
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
519
|
+
default: false,
|
|
520
|
+
desc: "Enable or disable Passenger's high performance mode.",
|
|
521
|
+
header: nil,
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
name: 'PassengerEnabled',
|
|
525
|
+
type: :flag,
|
|
526
|
+
context: :location,
|
|
527
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
528
|
+
default: true,
|
|
529
|
+
desc: "Enable or disable #{PROGRAM_NAME}.",
|
|
530
|
+
header: nil,
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
name: 'PassengerBufferUpload',
|
|
534
|
+
type: :flag,
|
|
535
|
+
context: :location,
|
|
536
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
537
|
+
default: true,
|
|
538
|
+
desc: 'Whether to buffer file uploads.',
|
|
539
|
+
header: nil,
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
name: 'PassengerStickySessions',
|
|
543
|
+
type: :flag,
|
|
544
|
+
context: :location,
|
|
545
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
546
|
+
default: false,
|
|
547
|
+
desc: 'Whether to enable sticky sessions.',
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
name: 'PassengerStickySessionsCookieName',
|
|
551
|
+
type: :string,
|
|
552
|
+
context: :location,
|
|
553
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
554
|
+
default: DEFAULT_STICKY_SESSIONS_COOKIE_NAME,
|
|
555
|
+
default_expr: 'DEFAULT_STICKY_SESSIONS_COOKIE_NAME',
|
|
556
|
+
desc: 'The cookie name to use for sticky sessions.',
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
name: 'PassengerStickySessionsCookieAttributes',
|
|
560
|
+
type: :string,
|
|
561
|
+
context: :location,
|
|
562
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
563
|
+
default: DEFAULT_STICKY_SESSIONS_COOKIE_ATTRIBUTES,
|
|
564
|
+
default_expr: 'DEFAULT_STICKY_SESSIONS_COOKIE_ATTRIBUTES',
|
|
565
|
+
desc: 'The attributes to use for the sticky session cookie.',
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
name: 'PassengerBufferResponse',
|
|
569
|
+
type: :flag,
|
|
570
|
+
context: :location,
|
|
571
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
572
|
+
default: false,
|
|
573
|
+
desc: 'Whether to enable extra response buffering inside Apache.',
|
|
574
|
+
header: nil,
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: 'PassengerAllowEncodedSlashes',
|
|
578
|
+
type: :flag,
|
|
579
|
+
context: :location,
|
|
580
|
+
default: false,
|
|
581
|
+
desc: "Whether to support encoded slashes in the URL",
|
|
582
|
+
header: nil,
|
|
583
583
|
},
|
|
584
584
|
|
|
585
585
|
|
|
586
586
|
##### Enterprise options (placeholders in OSS) #####
|
|
587
587
|
|
|
588
588
|
{
|
|
589
|
-
:
|
|
590
|
-
:
|
|
591
|
-
:
|
|
592
|
-
:
|
|
593
|
-
:
|
|
594
|
-
:
|
|
589
|
+
name: 'PassengerFlyWith',
|
|
590
|
+
type: :string,
|
|
591
|
+
context: :global,
|
|
592
|
+
function: 'cmd_passenger_enterprise_only',
|
|
593
|
+
field: nil,
|
|
594
|
+
desc: "Use Flying #{SHORT_PROGRAM_NAME}",
|
|
595
595
|
},
|
|
596
596
|
{
|
|
597
|
-
:
|
|
598
|
-
:
|
|
599
|
-
:
|
|
600
|
-
:
|
|
601
|
-
:
|
|
602
|
-
:
|
|
603
|
-
:
|
|
597
|
+
name: 'PassengerMemoryLimit',
|
|
598
|
+
type: :integer,
|
|
599
|
+
htaccess_context: [ 'OR_LIMIT' ],
|
|
600
|
+
min_value: 0,
|
|
601
|
+
function: 'cmd_passenger_enterprise_only',
|
|
602
|
+
field: nil,
|
|
603
|
+
desc: 'The maximum amount of memory in MB that an application instance may use.',
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
|
-
:
|
|
607
|
-
:
|
|
608
|
-
:
|
|
609
|
-
:
|
|
610
|
-
:
|
|
611
|
-
:
|
|
612
|
-
:
|
|
606
|
+
name: 'PassengerMaxInstances',
|
|
607
|
+
type: :integer,
|
|
608
|
+
htaccess_context: [ 'OR_LIMIT' ],
|
|
609
|
+
min_value: 0,
|
|
610
|
+
function: 'cmd_passenger_enterprise_only',
|
|
611
|
+
field: nil,
|
|
612
|
+
desc: "The maximum number of instances for the current application that #{PROGRAM_NAME} may spawn.",
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
|
-
:
|
|
616
|
-
:
|
|
617
|
-
:
|
|
618
|
-
:
|
|
619
|
-
:
|
|
615
|
+
name: 'PassengerRollingRestarts',
|
|
616
|
+
type: :flag,
|
|
617
|
+
function: 'cmd_passenger_enterprise_only',
|
|
618
|
+
field: nil,
|
|
619
|
+
desc: "Whether to turn on rolling restarts.",
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
|
-
:
|
|
623
|
-
:
|
|
624
|
-
:
|
|
625
|
-
:
|
|
626
|
-
:
|
|
622
|
+
name: 'PassengerResistDeploymentErrors',
|
|
623
|
+
type: :flag,
|
|
624
|
+
function: 'cmd_passenger_enterprise_only',
|
|
625
|
+
field: nil,
|
|
626
|
+
desc: 'Whether to turn on deployment error resistance.',
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
:
|
|
630
|
-
:
|
|
631
|
-
:
|
|
632
|
-
:
|
|
633
|
-
:
|
|
629
|
+
name: 'PassengerDebugger',
|
|
630
|
+
type: :flag,
|
|
631
|
+
function: 'cmd_passenger_enterprise_only',
|
|
632
|
+
field: nil,
|
|
633
|
+
desc: 'Whether to turn on debugger support',
|
|
634
634
|
},
|
|
635
635
|
{
|
|
636
|
-
:
|
|
637
|
-
:
|
|
638
|
-
:
|
|
639
|
-
:
|
|
640
|
-
:
|
|
641
|
-
:
|
|
636
|
+
name: 'PassengerConcurrencyModel',
|
|
637
|
+
type: :string,
|
|
638
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
639
|
+
function: 'cmd_passenger_enterprise_only',
|
|
640
|
+
field: nil,
|
|
641
|
+
desc: 'The concurrency model that should be used for applications.',
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
|
-
:
|
|
645
|
-
:
|
|
646
|
-
:
|
|
647
|
-
:
|
|
648
|
-
:
|
|
649
|
-
:
|
|
650
|
-
:
|
|
644
|
+
name: 'PassengerThreadCount',
|
|
645
|
+
type: :integer,
|
|
646
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
647
|
+
min_value: 0,
|
|
648
|
+
function: 'cmd_passenger_enterprise_only',
|
|
649
|
+
field: nil,
|
|
650
|
+
desc: "The number of threads that #{PROGRAM_NAME} should spawn per application.",
|
|
651
651
|
},
|
|
652
652
|
{
|
|
653
|
-
:
|
|
654
|
-
:
|
|
655
|
-
:
|
|
656
|
-
:
|
|
657
|
-
:
|
|
658
|
-
:
|
|
659
|
-
:
|
|
660
|
-
:
|
|
653
|
+
name: 'PassengerMaxRequestTime',
|
|
654
|
+
type: :integer,
|
|
655
|
+
context: :location,
|
|
656
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
657
|
+
min_value: 0,
|
|
658
|
+
function: 'cmd_passenger_enterprise_only',
|
|
659
|
+
field: nil,
|
|
660
|
+
desc: 'The maximum time (in seconds) that the current application may spend on a request.',
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
|
-
:
|
|
664
|
-
:
|
|
665
|
-
:
|
|
666
|
-
:
|
|
667
|
-
:
|
|
668
|
-
:
|
|
669
|
-
:
|
|
670
|
-
:
|
|
663
|
+
name: 'PassengerMaxRequestQueueTime',
|
|
664
|
+
type: :integer,
|
|
665
|
+
context: :location,
|
|
666
|
+
htaccess_context: [ 'OR_ALL' ],
|
|
667
|
+
min_value: 0,
|
|
668
|
+
function: 'cmd_passenger_enterprise_only',
|
|
669
|
+
field: nil,
|
|
670
|
+
desc: 'The maximum number of seconds that a request may remain in the queue before it is dropped.',
|
|
671
671
|
},
|
|
672
672
|
{
|
|
673
|
-
:
|
|
674
|
-
:
|
|
675
|
-
:
|
|
676
|
-
:
|
|
677
|
-
:
|
|
673
|
+
name: 'PassengerAppLogFile',
|
|
674
|
+
type: :string,
|
|
675
|
+
dynamic_default: 'PassengerLogFile',
|
|
676
|
+
function: 'cmd_passenger_enterprise_only',
|
|
677
|
+
desc: 'Application log file path.',
|
|
678
678
|
},
|
|
679
679
|
|
|
680
680
|
|
|
681
681
|
##### Aliases and backwards compatibility options #####
|
|
682
682
|
|
|
683
683
|
{
|
|
684
|
-
:
|
|
685
|
-
:
|
|
684
|
+
name: 'RailsEnv',
|
|
685
|
+
alias_for: 'PassengerAppEnv',
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
|
-
:
|
|
689
|
-
:
|
|
688
|
+
name: 'RackEnv',
|
|
689
|
+
alias_for: 'PassengerAppEnv',
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
|
-
:
|
|
693
|
-
:
|
|
692
|
+
name: 'RailsRuby',
|
|
693
|
+
alias_for: 'PassengerRuby',
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
|
-
:
|
|
697
|
-
:
|
|
696
|
+
name: 'PassengerDebugLogFile',
|
|
697
|
+
alias_for: 'PassengerLogFile',
|
|
698
698
|
},
|
|
699
699
|
{
|
|
700
|
-
:
|
|
701
|
-
:
|
|
700
|
+
name: 'RailsMaxPoolSize',
|
|
701
|
+
alias_for: 'PassengerMaxPoolSize',
|
|
702
702
|
},
|
|
703
703
|
{
|
|
704
|
-
:
|
|
705
|
-
:
|
|
704
|
+
name: 'RailsMaxInstancesPerApp',
|
|
705
|
+
alias_for: 'PassengerMaxInstancesPerApp',
|
|
706
706
|
},
|
|
707
707
|
{
|
|
708
|
-
:
|
|
709
|
-
:
|
|
708
|
+
name: 'RailsPoolIdleTime',
|
|
709
|
+
alias_for: 'PassengerPoolIdleTime',
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
|
-
:
|
|
713
|
-
:
|
|
712
|
+
name: 'RailsUserSwitching',
|
|
713
|
+
alias_for: 'PassengerUserSwitching',
|
|
714
714
|
},
|
|
715
715
|
{
|
|
716
|
-
:
|
|
717
|
-
:
|
|
716
|
+
name: 'RailsDefaultUser',
|
|
717
|
+
alias_for: 'PassengerDefaultUser',
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
|
-
:
|
|
721
|
-
:
|
|
720
|
+
name: 'RailsAppSpawnerIdleTime',
|
|
721
|
+
alias_for: 'PassengerMaxPreloaderIdleTime',
|
|
722
722
|
},
|
|
723
723
|
{
|
|
724
|
-
:
|
|
725
|
-
:
|
|
724
|
+
name: 'RailsBaseURI',
|
|
725
|
+
alias_for: 'PassengerBaseURI',
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
|
-
:
|
|
729
|
-
:
|
|
728
|
+
name: 'RackBaseURI',
|
|
729
|
+
alias_for: 'PassengerBaseURI',
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
-
:
|
|
733
|
-
:
|
|
732
|
+
name: 'RailsSpawnMethod',
|
|
733
|
+
alias_for: "PassengerSpawnMethod",
|
|
734
734
|
},
|
|
735
735
|
|
|
736
736
|
|
|
737
737
|
##### Deprecated/obsolete options #####
|
|
738
738
|
|
|
739
739
|
{
|
|
740
|
-
:
|
|
741
|
-
:
|
|
742
|
-
:
|
|
743
|
-
:
|
|
744
|
-
:
|
|
740
|
+
name: 'RailsSpawnServer',
|
|
741
|
+
type: :string,
|
|
742
|
+
context: :global,
|
|
743
|
+
obsolete: true,
|
|
744
|
+
obsoletion_message: "The 'RailsSpawnServer' option is obsolete. " \
|
|
745
745
|
"Please specify 'PassengerRoot' instead. The correct value was " \
|
|
746
746
|
"given to you by 'passenger-install-apache2-module'.",
|
|
747
|
-
:
|
|
747
|
+
desc: 'Obsolete option.',
|
|
748
748
|
},
|
|
749
749
|
{
|
|
750
|
-
:
|
|
751
|
-
:
|
|
752
|
-
:
|
|
753
|
-
:
|
|
754
|
-
:
|
|
750
|
+
name: "RailsAllowModRewrite",
|
|
751
|
+
type: :flag,
|
|
752
|
+
context: :global,
|
|
753
|
+
obsolete: true,
|
|
754
|
+
obsoletion_message: "The 'RailsAllowModRewrite' option is obsolete: " \
|
|
755
755
|
"#{PROGRAM_NAME} now fully supports mod_rewrite. " \
|
|
756
756
|
"Please remove this option from your configuration file.",
|
|
757
|
-
:
|
|
757
|
+
desc: 'Obsolete option.',
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
|
-
:
|
|
761
|
-
:
|
|
762
|
-
:
|
|
763
|
-
:
|
|
764
|
-
:
|
|
760
|
+
name: "RailsFrameworkSpawnerIdleTime",
|
|
761
|
+
type: :integer,
|
|
762
|
+
context: :global,
|
|
763
|
+
obsolete: true,
|
|
764
|
+
obsoletion_message: "The 'RailsFrameworkSpawnerIdleTime' option is obsolete. " \
|
|
765
765
|
"Please use 'PassengerMaxPreloaderIdleTime' instead.",
|
|
766
|
-
:
|
|
766
|
+
desc: 'Obsolete option.',
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
:
|
|
770
|
-
:
|
|
771
|
-
:
|
|
772
|
-
:
|
|
769
|
+
name: 'PassengerUseGlobalQueue',
|
|
770
|
+
type: :flag,
|
|
771
|
+
obsolete: true,
|
|
772
|
+
obsoletion_message: "The 'PassengerUseGlobalQueue' option is obsolete: " \
|
|
773
773
|
'global queueing is now always turned on. ' \
|
|
774
774
|
'Please remove this option from your configuration file.',
|
|
775
|
-
:
|
|
775
|
+
desc: 'Obsolete option.',
|
|
776
776
|
},
|
|
777
777
|
{
|
|
778
|
-
:
|
|
779
|
-
:
|
|
780
|
-
:
|
|
781
|
-
:
|
|
782
|
-
:
|
|
778
|
+
name: 'UnionStationGatewayAddress',
|
|
779
|
+
type: :string,
|
|
780
|
+
context: :global,
|
|
781
|
+
obsolete: true,
|
|
782
|
+
desc: 'Obsolete option.',
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
:
|
|
786
|
-
:
|
|
787
|
-
:
|
|
788
|
-
:
|
|
789
|
-
:
|
|
785
|
+
name: 'UnionStationGatewayPort',
|
|
786
|
+
type: :integer,
|
|
787
|
+
context: :global,
|
|
788
|
+
obsolete: true,
|
|
789
|
+
desc: 'Obsolete option.',
|
|
790
790
|
},
|
|
791
791
|
{
|
|
792
|
-
:
|
|
793
|
-
:
|
|
794
|
-
:
|
|
795
|
-
:
|
|
796
|
-
:
|
|
792
|
+
name: 'UnionStationGatewayCert',
|
|
793
|
+
type: :string,
|
|
794
|
+
context: :global,
|
|
795
|
+
obsolete: true,
|
|
796
|
+
desc: 'Obsolete option.',
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
|
-
:
|
|
800
|
-
:
|
|
801
|
-
:
|
|
802
|
-
:
|
|
803
|
-
:
|
|
799
|
+
name: 'UnionStationProxyAddress',
|
|
800
|
+
type: :string,
|
|
801
|
+
context: :global,
|
|
802
|
+
obsolete: true,
|
|
803
|
+
desc: 'Obsolete option.',
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
|
-
:
|
|
807
|
-
:
|
|
808
|
-
:
|
|
809
|
-
:
|
|
810
|
-
:
|
|
806
|
+
name: 'PassengerAnalyticsLogUser',
|
|
807
|
+
type: :string,
|
|
808
|
+
context: :global,
|
|
809
|
+
obsolete: true,
|
|
810
|
+
desc: 'Obsolete option.',
|
|
811
811
|
},
|
|
812
812
|
{
|
|
813
|
-
:
|
|
814
|
-
:
|
|
815
|
-
:
|
|
816
|
-
:
|
|
817
|
-
:
|
|
813
|
+
name: 'PassengerAnalyticsLogGroup',
|
|
814
|
+
type: :string,
|
|
815
|
+
context: :global,
|
|
816
|
+
obsolete: true,
|
|
817
|
+
desc: 'Obsolete option.',
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
:
|
|
821
|
-
:
|
|
822
|
-
:
|
|
823
|
-
:
|
|
820
|
+
name: 'UnionStationKey',
|
|
821
|
+
type: :string,
|
|
822
|
+
obsolete: true,
|
|
823
|
+
desc: 'Obsolete option.',
|
|
824
824
|
},
|
|
825
825
|
{
|
|
826
|
-
:
|
|
827
|
-
:
|
|
828
|
-
:
|
|
829
|
-
:
|
|
830
|
-
:
|
|
826
|
+
name: 'UnionStationFilter',
|
|
827
|
+
type: :string,
|
|
828
|
+
context: :location,
|
|
829
|
+
obsolete: true,
|
|
830
|
+
desc: 'Obsolete option.',
|
|
831
831
|
},
|
|
832
832
|
{
|
|
833
|
-
:
|
|
834
|
-
:
|
|
835
|
-
:
|
|
836
|
-
:
|
|
837
|
-
}
|
|
833
|
+
name: 'UnionStationSupport',
|
|
834
|
+
type: :flag,
|
|
835
|
+
obsolete: true,
|
|
836
|
+
desc: 'Obsolete option.',
|
|
837
|
+
},
|
|
838
838
|
]
|
|
839
839
|
|
|
840
840
|
PhusionPassenger::Apache2::ConfigUtils.initialize!(APACHE2_CONFIGURATION_OPTIONS)
|