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
|
@@ -109,792 +109,792 @@ NGINX_CONFIGURATION_OPTIONS = [
|
|
|
109
109
|
###### Global configuration ######
|
|
110
110
|
|
|
111
111
|
{
|
|
112
|
-
:
|
|
113
|
-
:
|
|
114
|
-
:
|
|
115
|
-
:
|
|
116
|
-
:
|
|
117
|
-
:
|
|
112
|
+
name: 'passenger_root',
|
|
113
|
+
scope: :global,
|
|
114
|
+
type: :string,
|
|
115
|
+
context: [ :main ],
|
|
116
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
117
|
+
field: 'root_dir',
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
:
|
|
121
|
-
:
|
|
122
|
-
:
|
|
123
|
-
:
|
|
124
|
-
:
|
|
120
|
+
name: 'passenger_ctl',
|
|
121
|
+
scope: :global,
|
|
122
|
+
type: :string_keyval,
|
|
123
|
+
context: [ :main ],
|
|
124
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
:
|
|
128
|
-
:
|
|
129
|
-
:
|
|
130
|
-
:
|
|
131
|
-
:
|
|
132
|
-
:
|
|
127
|
+
name: 'passenger_abort_on_startup_error',
|
|
128
|
+
scope: :global,
|
|
129
|
+
type: :flag,
|
|
130
|
+
default: false,
|
|
131
|
+
context: [ :main ],
|
|
132
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
:
|
|
136
|
-
:
|
|
137
|
-
:
|
|
138
|
-
:
|
|
139
|
-
:
|
|
135
|
+
name: 'passenger_dump_config_manifest',
|
|
136
|
+
scope: :global,
|
|
137
|
+
type: :string,
|
|
138
|
+
context: [ :main ],
|
|
139
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
|
-
:
|
|
143
|
-
:
|
|
144
|
-
:
|
|
145
|
-
:
|
|
146
|
-
:
|
|
147
|
-
:
|
|
142
|
+
name: 'passenger_log_level',
|
|
143
|
+
scope: :global,
|
|
144
|
+
type: :uinteger,
|
|
145
|
+
default: DEFAULT_LOG_LEVEL,
|
|
146
|
+
context: [ :main ],
|
|
147
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
:
|
|
151
|
-
:
|
|
152
|
-
:
|
|
153
|
-
:
|
|
154
|
-
:
|
|
155
|
-
:
|
|
150
|
+
name: 'passenger_log_file',
|
|
151
|
+
scope: :global,
|
|
152
|
+
type: :string,
|
|
153
|
+
dynamic_default: "Nginx's global error log",
|
|
154
|
+
context: [ :main ],
|
|
155
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
:
|
|
159
|
-
:
|
|
160
|
-
:
|
|
161
|
-
:
|
|
162
|
-
:
|
|
163
|
-
:
|
|
158
|
+
name: 'passenger_disable_log_prefix',
|
|
159
|
+
scope: :global,
|
|
160
|
+
type: :flag,
|
|
161
|
+
default: false,
|
|
162
|
+
context: [ :main ],
|
|
163
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
:
|
|
167
|
-
:
|
|
168
|
-
:
|
|
169
|
-
:
|
|
170
|
-
:
|
|
166
|
+
name: 'passenger_file_descriptor_log_file',
|
|
167
|
+
scope: :global,
|
|
168
|
+
type: :string,
|
|
169
|
+
context: [ :main ],
|
|
170
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
:
|
|
174
|
-
:
|
|
175
|
-
:
|
|
176
|
-
:
|
|
177
|
-
:
|
|
178
|
-
:
|
|
173
|
+
name: 'passenger_data_buffer_dir',
|
|
174
|
+
scope: :global,
|
|
175
|
+
type: :string,
|
|
176
|
+
dynamic_default: '$TMPDIR, or if not given, /tmp',
|
|
177
|
+
context: [ :main ],
|
|
178
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
|
-
:
|
|
182
|
-
:
|
|
183
|
-
:
|
|
184
|
-
:
|
|
185
|
-
:
|
|
186
|
-
:
|
|
181
|
+
name: 'passenger_socket_backlog',
|
|
182
|
+
scope: :global,
|
|
183
|
+
type: :uinteger,
|
|
184
|
+
default: DEFAULT_SOCKET_BACKLOG,
|
|
185
|
+
context: [ :main ],
|
|
186
|
+
struct: "NGX_HTTP_MAIN_CONF_OFFSET",
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
:
|
|
190
|
-
:
|
|
191
|
-
:
|
|
192
|
-
:
|
|
193
|
-
:
|
|
194
|
-
:
|
|
189
|
+
name: 'passenger_core_file_descriptor_ulimit',
|
|
190
|
+
scope: :global,
|
|
191
|
+
type: :uinteger,
|
|
192
|
+
dynamic_default: 'The ulimits environment under which Nginx was started',
|
|
193
|
+
context: [ :main ],
|
|
194
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
|
-
:
|
|
198
|
-
:
|
|
199
|
-
:
|
|
200
|
-
:
|
|
201
|
-
:
|
|
202
|
-
:
|
|
197
|
+
name: 'passenger_disable_security_update_check',
|
|
198
|
+
scope: :global,
|
|
199
|
+
type: :flag,
|
|
200
|
+
default: false,
|
|
201
|
+
context: [ :main ],
|
|
202
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
:
|
|
206
|
-
:
|
|
207
|
-
:
|
|
208
|
-
:
|
|
209
|
-
:
|
|
205
|
+
name: 'passenger_security_update_check_proxy',
|
|
206
|
+
scope: :global,
|
|
207
|
+
type: :string,
|
|
208
|
+
context: [ :main ],
|
|
209
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
|
-
:
|
|
213
|
-
:
|
|
214
|
-
:
|
|
215
|
-
:
|
|
216
|
-
:
|
|
217
|
-
:
|
|
212
|
+
name: 'passenger_disable_anonymous_telemetry',
|
|
213
|
+
scope: :global,
|
|
214
|
+
type: :flag,
|
|
215
|
+
default: false,
|
|
216
|
+
context: [ :main ],
|
|
217
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
|
-
:
|
|
221
|
-
:
|
|
222
|
-
:
|
|
223
|
-
:
|
|
224
|
-
:
|
|
220
|
+
name: 'passenger_anonymous_telemetry_proxy',
|
|
221
|
+
scope: :global,
|
|
222
|
+
type: :string,
|
|
223
|
+
context: [ :main ],
|
|
224
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
:
|
|
228
|
-
:
|
|
229
|
-
:
|
|
230
|
-
:
|
|
231
|
-
:
|
|
232
|
-
:
|
|
227
|
+
name: 'passenger_pre_start',
|
|
228
|
+
scope: :global,
|
|
229
|
+
type: :string_array,
|
|
230
|
+
context: [ :main ],
|
|
231
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
232
|
+
field: 'prestart_uris',
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
:
|
|
236
|
-
:
|
|
237
|
-
:
|
|
238
|
-
:
|
|
239
|
-
:
|
|
240
|
-
:
|
|
235
|
+
name: 'passenger_instance_registry_dir',
|
|
236
|
+
scope: :global,
|
|
237
|
+
type: :string,
|
|
238
|
+
dynamic_default: 'Either /var/run/passenger-instreg, $TMPDIR, or /tmp (see docs)',
|
|
239
|
+
context: [ :main ],
|
|
240
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
|
-
:
|
|
244
|
-
:
|
|
245
|
-
:
|
|
246
|
-
:
|
|
247
|
-
:
|
|
248
|
-
:
|
|
243
|
+
name: 'passenger_spawn_dir',
|
|
244
|
+
scope: :global,
|
|
245
|
+
type: :string,
|
|
246
|
+
dynamic_default: 'Either $TMPDIR or /tmp',
|
|
247
|
+
context: [ :main ],
|
|
248
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
:
|
|
252
|
-
:
|
|
253
|
-
:
|
|
254
|
-
:
|
|
255
|
-
:
|
|
256
|
-
:
|
|
251
|
+
name: 'passenger_turbocaching',
|
|
252
|
+
scope: :global,
|
|
253
|
+
type: :flag,
|
|
254
|
+
default: true,
|
|
255
|
+
context: [ :main ],
|
|
256
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
|
-
:
|
|
260
|
-
:
|
|
261
|
-
:
|
|
262
|
-
:
|
|
263
|
-
:
|
|
264
|
-
:
|
|
259
|
+
name: 'passenger_old_routing',
|
|
260
|
+
scope: :global,
|
|
261
|
+
type: :flag,
|
|
262
|
+
default: false,
|
|
263
|
+
context: [ :main ],
|
|
264
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
|
-
:
|
|
268
|
-
:
|
|
269
|
-
:
|
|
270
|
-
:
|
|
271
|
-
:
|
|
272
|
-
:
|
|
267
|
+
name: 'passenger_user_switching',
|
|
268
|
+
scope: :global,
|
|
269
|
+
type: :flag,
|
|
270
|
+
default: true,
|
|
271
|
+
context: [ :main ],
|
|
272
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
|
-
:
|
|
276
|
-
:
|
|
277
|
-
:
|
|
278
|
-
:
|
|
279
|
-
:
|
|
280
|
-
:
|
|
275
|
+
name: 'passenger_default_user',
|
|
276
|
+
scope: :global,
|
|
277
|
+
type: :string,
|
|
278
|
+
default: PASSENGER_DEFAULT_USER,
|
|
279
|
+
context: [ :main ],
|
|
280
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
|
-
:
|
|
284
|
-
:
|
|
285
|
-
:
|
|
286
|
-
:
|
|
287
|
-
:
|
|
288
|
-
:
|
|
283
|
+
name: 'passenger_default_group',
|
|
284
|
+
scope: :global,
|
|
285
|
+
type: :string,
|
|
286
|
+
dynamic_default: 'The primary group of passenger_default_user',
|
|
287
|
+
context: [ :main ],
|
|
288
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
|
-
:
|
|
292
|
-
:
|
|
293
|
-
:
|
|
294
|
-
:
|
|
295
|
-
:
|
|
296
|
-
:
|
|
291
|
+
name: 'passenger_max_pool_size',
|
|
292
|
+
scope: :global,
|
|
293
|
+
type: :uinteger,
|
|
294
|
+
default: DEFAULT_MAX_POOL_SIZE,
|
|
295
|
+
context: [ :main ],
|
|
296
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
|
-
:
|
|
300
|
-
:
|
|
301
|
-
:
|
|
302
|
-
:
|
|
303
|
-
:
|
|
304
|
-
:
|
|
299
|
+
name: 'passenger_pool_idle_time',
|
|
300
|
+
scope: :global,
|
|
301
|
+
type: :uinteger,
|
|
302
|
+
default: DEFAULT_POOL_IDLE_TIME,
|
|
303
|
+
context: [ :main ],
|
|
304
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
|
-
:
|
|
308
|
-
:
|
|
309
|
-
:
|
|
310
|
-
:
|
|
311
|
-
:
|
|
312
|
-
:
|
|
307
|
+
name: 'passenger_response_buffer_high_watermark',
|
|
308
|
+
scope: :global,
|
|
309
|
+
type: :uinteger,
|
|
310
|
+
default: DEFAULT_RESPONSE_BUFFER_HIGH_WATERMARK,
|
|
311
|
+
context: [ :main ],
|
|
312
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
|
-
:
|
|
316
|
-
:
|
|
317
|
-
:
|
|
318
|
-
:
|
|
319
|
-
:
|
|
320
|
-
:
|
|
315
|
+
name: 'passenger_stat_throttle_rate',
|
|
316
|
+
scope: :global,
|
|
317
|
+
type: :uinteger,
|
|
318
|
+
default: DEFAULT_STAT_THROTTLE_RATE,
|
|
319
|
+
context: [ :main ],
|
|
320
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
|
-
:
|
|
324
|
-
:
|
|
325
|
-
:
|
|
326
|
-
:
|
|
327
|
-
:
|
|
328
|
-
:
|
|
323
|
+
name: 'passenger_show_version_in_header',
|
|
324
|
+
scope: :global,
|
|
325
|
+
type: :flag,
|
|
326
|
+
default: true,
|
|
327
|
+
context: [ :main ],
|
|
328
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
:
|
|
332
|
-
:
|
|
333
|
-
:
|
|
334
|
-
:
|
|
335
|
-
:
|
|
331
|
+
name: 'passenger_app_file_descriptor_ulimit',
|
|
332
|
+
scope: :global,
|
|
333
|
+
type: :uinteger,
|
|
334
|
+
dynamic_default: 'passenger_core_file_descriptor_ulimit',
|
|
335
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
:
|
|
339
|
-
:
|
|
340
|
-
:
|
|
341
|
-
:
|
|
342
|
-
:
|
|
343
|
-
:
|
|
344
|
-
:
|
|
338
|
+
name: 'passenger_max_instances_per_app',
|
|
339
|
+
scope: :global,
|
|
340
|
+
context: [ :main ],
|
|
341
|
+
type: :uinteger,
|
|
342
|
+
header: nil,
|
|
343
|
+
default: 0,
|
|
344
|
+
struct: 'NGX_HTTP_MAIN_CONF_OFFSET',
|
|
345
345
|
},
|
|
346
346
|
|
|
347
347
|
|
|
348
348
|
###### Per-application configuration ######
|
|
349
349
|
|
|
350
350
|
{
|
|
351
|
-
:
|
|
352
|
-
:
|
|
353
|
-
:
|
|
354
|
-
:
|
|
351
|
+
name: 'passenger_ruby',
|
|
352
|
+
scope: :application,
|
|
353
|
+
type: :string,
|
|
354
|
+
default: DEFAULT_RUBY,
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
|
-
:
|
|
358
|
-
:
|
|
359
|
-
:
|
|
360
|
-
:
|
|
357
|
+
name: 'passenger_python',
|
|
358
|
+
scope: :application,
|
|
359
|
+
type: :string,
|
|
360
|
+
default: DEFAULT_PYTHON,
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
|
-
:
|
|
364
|
-
:
|
|
365
|
-
:
|
|
366
|
-
:
|
|
363
|
+
name: 'passenger_nodejs',
|
|
364
|
+
scope: :application,
|
|
365
|
+
type: :string,
|
|
366
|
+
default: DEFAULT_NODEJS,
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
|
-
:
|
|
370
|
-
:
|
|
371
|
-
:
|
|
369
|
+
name: 'passenger_meteor_app_settings',
|
|
370
|
+
scope: :application,
|
|
371
|
+
type: :string,
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
|
-
:
|
|
375
|
-
:
|
|
376
|
-
:
|
|
377
|
-
:
|
|
378
|
-
:
|
|
374
|
+
name: 'passenger_app_env',
|
|
375
|
+
scope: :application,
|
|
376
|
+
type: :string,
|
|
377
|
+
default: 'production',
|
|
378
|
+
field: 'environment',
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
:
|
|
382
|
-
:
|
|
383
|
-
:
|
|
384
|
-
:
|
|
381
|
+
name: 'passenger_friendly_error_pages',
|
|
382
|
+
scope: :application,
|
|
383
|
+
type: :flag,
|
|
384
|
+
dynamic_default: 'On if passenger_app_env is development, off otherwise',
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
:
|
|
388
|
-
:
|
|
389
|
-
:
|
|
387
|
+
name: 'passenger_custom_error_page',
|
|
388
|
+
scope: :application,
|
|
389
|
+
type: :string,
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
|
-
:
|
|
393
|
-
:
|
|
394
|
-
:
|
|
395
|
-
:
|
|
396
|
-
:
|
|
392
|
+
name: 'passenger_min_instances',
|
|
393
|
+
scope: :application,
|
|
394
|
+
type: :uinteger,
|
|
395
|
+
default: 1,
|
|
396
|
+
header: 'PASSENGER_MIN_PROCESSES',
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
|
-
:
|
|
400
|
-
:
|
|
401
|
-
:
|
|
402
|
-
:
|
|
399
|
+
name: 'passenger_start_timeout',
|
|
400
|
+
scope: :application,
|
|
401
|
+
type: :uinteger,
|
|
402
|
+
default: DEFAULT_START_TIMEOUT / 1000,
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
|
-
:
|
|
406
|
-
:
|
|
407
|
-
:
|
|
408
|
-
:
|
|
405
|
+
name: 'passenger_app_connect_timeout',
|
|
406
|
+
scope: :application,
|
|
407
|
+
type: :uinteger,
|
|
408
|
+
default: DEFAULT_CONNECT_TIMEOUT,
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
|
-
:
|
|
412
|
-
:
|
|
413
|
-
:
|
|
414
|
-
:
|
|
411
|
+
name: 'passenger_user',
|
|
412
|
+
scope: :application,
|
|
413
|
+
type: :string,
|
|
414
|
+
dynamic_default: 'See the user account sandboxing rules',
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
:
|
|
418
|
-
:
|
|
419
|
-
:
|
|
420
|
-
:
|
|
417
|
+
name: 'passenger_group',
|
|
418
|
+
scope: :application,
|
|
419
|
+
type: :string,
|
|
420
|
+
dynamic_default: 'See the user account sandboxing rules',
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
|
-
:
|
|
424
|
-
:
|
|
425
|
-
:
|
|
426
|
-
:
|
|
423
|
+
name: 'passenger_app_group_name',
|
|
424
|
+
scope: :application,
|
|
425
|
+
type: :string,
|
|
426
|
+
dynamic_default: 'passenger_app_root plus passenger_app_env',
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
:
|
|
430
|
-
:
|
|
431
|
-
:
|
|
432
|
-
:
|
|
429
|
+
name: 'passenger_monitor_log_file',
|
|
430
|
+
scope: :application,
|
|
431
|
+
type: :string_array,
|
|
432
|
+
header: nil,
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
|
-
:
|
|
436
|
-
:
|
|
437
|
-
:
|
|
438
|
-
:
|
|
435
|
+
name: 'passenger_app_root',
|
|
436
|
+
scope: :application,
|
|
437
|
+
type: :string,
|
|
438
|
+
dynamic_default: "Parent directory of the associated Nginx virtual host's root directory",
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
|
-
:
|
|
442
|
-
:
|
|
443
|
-
:
|
|
441
|
+
name: 'passenger_app_rights',
|
|
442
|
+
scope: :application,
|
|
443
|
+
type: :string,
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
|
-
:
|
|
447
|
-
:
|
|
448
|
-
:
|
|
449
|
-
:
|
|
446
|
+
name: 'passenger_debugger',
|
|
447
|
+
scope: :application,
|
|
448
|
+
type: :flag,
|
|
449
|
+
default: false,
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
|
-
:
|
|
453
|
-
:
|
|
454
|
-
:
|
|
455
|
-
:
|
|
452
|
+
name: 'passenger_max_preloader_idle_time',
|
|
453
|
+
scope: :application,
|
|
454
|
+
type: :integer,
|
|
455
|
+
default: DEFAULT_MAX_PRELOADER_IDLE_TIME,
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
|
-
:
|
|
459
|
-
:
|
|
460
|
-
:
|
|
461
|
-
:
|
|
462
|
-
:
|
|
458
|
+
name: 'passenger_env_var',
|
|
459
|
+
scope: :application,
|
|
460
|
+
type: :string_keyval,
|
|
461
|
+
field: 'env_vars',
|
|
462
|
+
header: nil,
|
|
463
463
|
},
|
|
464
464
|
{
|
|
465
|
-
:
|
|
466
|
-
:
|
|
467
|
-
:
|
|
468
|
-
:
|
|
465
|
+
name: 'passenger_spawn_method',
|
|
466
|
+
scope: :application,
|
|
467
|
+
dynamic_default: "'smart' for Ruby apps, 'direct' for all other apps",
|
|
468
|
+
type: :string,
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
:
|
|
472
|
-
:
|
|
473
|
-
:
|
|
474
|
-
:
|
|
471
|
+
name: 'passenger_direct_instance_request_address',
|
|
472
|
+
scope: :application,
|
|
473
|
+
default: DEFAULT_BIND_ADDRESS,
|
|
474
|
+
type: :string,
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
|
-
:
|
|
478
|
-
:
|
|
479
|
-
:
|
|
480
|
-
:
|
|
477
|
+
name: 'passenger_load_shell_envvars',
|
|
478
|
+
scope: :application,
|
|
479
|
+
type: :flag,
|
|
480
|
+
default: true,
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
:
|
|
484
|
-
:
|
|
485
|
-
:
|
|
486
|
-
:
|
|
483
|
+
name: 'passenger_preload_bundler',
|
|
484
|
+
scope: :application,
|
|
485
|
+
type: :flag,
|
|
486
|
+
default: false,
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
|
-
:
|
|
490
|
-
:
|
|
491
|
-
:
|
|
492
|
-
:
|
|
489
|
+
name: 'passenger_max_request_queue_size',
|
|
490
|
+
scope: :application,
|
|
491
|
+
type: :uinteger,
|
|
492
|
+
default: DEFAULT_MAX_REQUEST_QUEUE_SIZE,
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
:
|
|
496
|
-
:
|
|
497
|
-
:
|
|
498
|
-
:
|
|
499
|
-
:
|
|
495
|
+
name: 'passenger_app_type',
|
|
496
|
+
scope: :application,
|
|
497
|
+
type: :string,
|
|
498
|
+
dynamic_default: 'Autodetected',
|
|
499
|
+
header: nil,
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
|
-
:
|
|
503
|
-
:
|
|
504
|
-
:
|
|
505
|
-
:
|
|
502
|
+
name: 'passenger_startup_file',
|
|
503
|
+
scope: :application,
|
|
504
|
+
type: :string,
|
|
505
|
+
dynamic_default: 'Autodetected',
|
|
506
506
|
},
|
|
507
507
|
{
|
|
508
|
-
:
|
|
509
|
-
:
|
|
510
|
-
:
|
|
511
|
-
:
|
|
508
|
+
name: 'passenger_app_start_command',
|
|
509
|
+
scope: :application,
|
|
510
|
+
type: :string,
|
|
511
|
+
header: nil,
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
|
-
:
|
|
515
|
-
:
|
|
516
|
-
:
|
|
517
|
-
:
|
|
514
|
+
name: 'passenger_restart_dir',
|
|
515
|
+
scope: :application,
|
|
516
|
+
type: :string,
|
|
517
|
+
default: 'tmp',
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
|
-
:
|
|
521
|
-
:
|
|
522
|
-
:
|
|
523
|
-
:
|
|
520
|
+
name: 'passenger_abort_websockets_on_process_shutdown',
|
|
521
|
+
scope: :application,
|
|
522
|
+
type: :flag,
|
|
523
|
+
default: true,
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
|
-
:
|
|
527
|
-
:
|
|
528
|
-
:
|
|
529
|
-
:
|
|
526
|
+
name: 'passenger_force_max_concurrent_requests_per_process',
|
|
527
|
+
scope: :application,
|
|
528
|
+
type: :integer,
|
|
529
|
+
default: -1,
|
|
530
530
|
},
|
|
531
531
|
|
|
532
532
|
###### Per-location/per-request configuration ######
|
|
533
533
|
|
|
534
534
|
{
|
|
535
|
-
:
|
|
536
|
-
:
|
|
537
|
-
:
|
|
538
|
-
:
|
|
539
|
-
:
|
|
540
|
-
:
|
|
541
|
-
:
|
|
535
|
+
name: 'passenger_enabled',
|
|
536
|
+
scope: :location,
|
|
537
|
+
type: :flag,
|
|
538
|
+
default: false,
|
|
539
|
+
function: 'passenger_enabled',
|
|
540
|
+
field: 'enabled',
|
|
541
|
+
header: nil,
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
|
-
:
|
|
545
|
-
:
|
|
546
|
-
:
|
|
547
|
-
:
|
|
544
|
+
name: 'passenger_max_requests',
|
|
545
|
+
scope: :location,
|
|
546
|
+
type: :uinteger,
|
|
547
|
+
default: 0,
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
|
-
:
|
|
551
|
-
:
|
|
552
|
-
:
|
|
553
|
-
:
|
|
554
|
-
:
|
|
550
|
+
name: 'passenger_base_uri',
|
|
551
|
+
scope: :location,
|
|
552
|
+
type: :string_array,
|
|
553
|
+
field: 'base_uris',
|
|
554
|
+
header: nil,
|
|
555
555
|
},
|
|
556
556
|
{
|
|
557
|
-
:
|
|
558
|
-
:
|
|
559
|
-
:
|
|
560
|
-
:
|
|
557
|
+
name: 'passenger_document_root',
|
|
558
|
+
scope: :location,
|
|
559
|
+
type: :string,
|
|
560
|
+
header: nil,
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
|
-
:
|
|
564
|
-
:
|
|
565
|
-
:
|
|
566
|
-
:
|
|
567
|
-
:
|
|
568
|
-
:
|
|
563
|
+
name: 'passenger_temp_path',
|
|
564
|
+
scope: :location,
|
|
565
|
+
type: :string,
|
|
566
|
+
function: 'ngx_conf_set_path_slot',
|
|
567
|
+
field: 'upstream_config.temp_path',
|
|
568
|
+
auto_generate_nginx_tracking_code: false,
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
:
|
|
572
|
-
:
|
|
573
|
-
:
|
|
574
|
-
:
|
|
575
|
-
:
|
|
576
|
-
:
|
|
577
|
-
:
|
|
571
|
+
name: 'passenger_ignore_headers',
|
|
572
|
+
scope: :location,
|
|
573
|
+
take: 'NGX_CONF_1MORE',
|
|
574
|
+
function: 'ngx_conf_set_bitmask_slot',
|
|
575
|
+
field: 'upstream_config.ignore_headers',
|
|
576
|
+
post: '&ngx_http_upstream_ignore_headers_masks',
|
|
577
|
+
auto_generate_nginx_tracking_code: false,
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
|
-
:
|
|
581
|
-
:
|
|
582
|
-
:
|
|
583
|
-
:
|
|
584
|
-
:
|
|
585
|
-
:
|
|
586
|
-
:
|
|
580
|
+
name: 'passenger_set_header',
|
|
581
|
+
scope: :location,
|
|
582
|
+
type: :string_keyval,
|
|
583
|
+
field: 'headers_source',
|
|
584
|
+
header: nil,
|
|
585
|
+
auto_generate_nginx_create_code: false,
|
|
586
|
+
auto_generate_nginx_merge_code: false,
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
|
-
:
|
|
590
|
-
:
|
|
591
|
-
:
|
|
592
|
-
:
|
|
589
|
+
name: 'passenger_pass_header',
|
|
590
|
+
scope: :location,
|
|
591
|
+
type: :string_array,
|
|
592
|
+
field: 'upstream_config.pass_headers',
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
:
|
|
596
|
-
:
|
|
597
|
-
:
|
|
598
|
-
:
|
|
599
|
-
:
|
|
595
|
+
name: 'passenger_headers_hash_max_size',
|
|
596
|
+
scope: :location,
|
|
597
|
+
type: :uinteger,
|
|
598
|
+
header: nil,
|
|
599
|
+
default: 512,
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
|
-
:
|
|
603
|
-
:
|
|
604
|
-
:
|
|
605
|
-
:
|
|
606
|
-
:
|
|
602
|
+
name: 'passenger_headers_hash_bucket_size',
|
|
603
|
+
scope: :location,
|
|
604
|
+
type: :uinteger,
|
|
605
|
+
header: nil,
|
|
606
|
+
default: 64,
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
|
-
:
|
|
610
|
-
:
|
|
611
|
-
:
|
|
612
|
-
:
|
|
613
|
-
:
|
|
609
|
+
name: 'passenger_ignore_client_abort',
|
|
610
|
+
scope: :location,
|
|
611
|
+
type: :flag,
|
|
612
|
+
default: false,
|
|
613
|
+
field: 'upstream_config.ignore_client_abort',
|
|
614
614
|
},
|
|
615
615
|
{
|
|
616
|
-
:
|
|
617
|
-
:
|
|
618
|
-
:
|
|
619
|
-
:
|
|
616
|
+
name: 'passenger_read_timeout',
|
|
617
|
+
scope: :location,
|
|
618
|
+
type: :msec,
|
|
619
|
+
field: 'upstream_config.read_timeout',
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
|
-
:
|
|
623
|
-
:
|
|
624
|
-
:
|
|
625
|
-
:
|
|
626
|
-
:
|
|
622
|
+
name: 'passenger_buffer_response',
|
|
623
|
+
scope: :location,
|
|
624
|
+
type: :flag,
|
|
625
|
+
default: false,
|
|
626
|
+
field: 'upstream_config.buffering',
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
:
|
|
630
|
-
:
|
|
631
|
-
:
|
|
632
|
-
:
|
|
633
|
-
:
|
|
634
|
-
:
|
|
635
|
-
:
|
|
629
|
+
name: 'passenger_buffer_size',
|
|
630
|
+
scope: :location,
|
|
631
|
+
dynamic_default: '4k|8k',
|
|
632
|
+
take: 'NGX_CONF_TAKE1',
|
|
633
|
+
function: 'ngx_conf_set_size_slot',
|
|
634
|
+
field: 'upstream_config.buffer_size',
|
|
635
|
+
auto_generate_nginx_tracking_code: false,
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
|
-
:
|
|
639
|
-
:
|
|
640
|
-
:
|
|
641
|
-
:
|
|
642
|
-
:
|
|
643
|
-
:
|
|
644
|
-
:
|
|
638
|
+
name: 'passenger_buffers',
|
|
639
|
+
scope: :location,
|
|
640
|
+
dynamic_default: '8 4k|8k',
|
|
641
|
+
take: 'NGX_CONF_TAKE2',
|
|
642
|
+
function: 'ngx_conf_set_bufs_slot',
|
|
643
|
+
field: 'upstream_config.bufs',
|
|
644
|
+
auto_generate_nginx_tracking_code: false,
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
|
-
:
|
|
648
|
-
:
|
|
649
|
-
:
|
|
650
|
-
:
|
|
651
|
-
:
|
|
652
|
-
:
|
|
653
|
-
:
|
|
647
|
+
name: 'passenger_busy_buffers_size',
|
|
648
|
+
scope: :location,
|
|
649
|
+
dynamic_default: '8k|16k',
|
|
650
|
+
take: 'NGX_CONF_TAKE1',
|
|
651
|
+
function: 'ngx_conf_set_size_slot',
|
|
652
|
+
field: 'upstream_config.busy_buffers_size_conf',
|
|
653
|
+
auto_generate_nginx_tracking_code: false,
|
|
654
654
|
},
|
|
655
655
|
{
|
|
656
|
-
:
|
|
657
|
-
:
|
|
658
|
-
:
|
|
659
|
-
:
|
|
660
|
-
:
|
|
661
|
-
:
|
|
656
|
+
name: 'passenger_request_buffering',
|
|
657
|
+
scope: :location,
|
|
658
|
+
type: :flag,
|
|
659
|
+
default: true,
|
|
660
|
+
field: 'upstream_config.request_buffering',
|
|
661
|
+
function: 'passenger_conf_set_request_buffering',
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
:
|
|
665
|
-
:
|
|
666
|
-
:
|
|
667
|
-
:
|
|
668
|
-
:
|
|
664
|
+
name: 'passenger_intercept_errors',
|
|
665
|
+
scope: :location,
|
|
666
|
+
type: :flag,
|
|
667
|
+
default: false,
|
|
668
|
+
field: 'upstream_config.intercept_errors',
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
:
|
|
672
|
-
:
|
|
673
|
-
:
|
|
674
|
-
:
|
|
671
|
+
name: 'passenger_request_queue_overflow_status_code',
|
|
672
|
+
scope: :location,
|
|
673
|
+
type: :integer,
|
|
674
|
+
default: 503,
|
|
675
675
|
},
|
|
676
676
|
{
|
|
677
|
-
:
|
|
678
|
-
:
|
|
679
|
-
:
|
|
680
|
-
:
|
|
677
|
+
name: 'passenger_spawn_exception_status_code',
|
|
678
|
+
scope: :location,
|
|
679
|
+
type: :integer,
|
|
680
|
+
default: 500,
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
|
-
:
|
|
684
|
-
:
|
|
685
|
-
:
|
|
686
|
-
:
|
|
687
|
-
:
|
|
683
|
+
name: 'passenger_buffer_upload',
|
|
684
|
+
type: :flag,
|
|
685
|
+
scope: :location,
|
|
686
|
+
default: false,
|
|
687
|
+
header: nil,
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
|
-
:
|
|
691
|
-
:
|
|
692
|
-
:
|
|
693
|
-
:
|
|
690
|
+
name: 'passenger_sticky_sessions',
|
|
691
|
+
scope: :location,
|
|
692
|
+
type: :flag,
|
|
693
|
+
default: false,
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
|
-
:
|
|
697
|
-
:
|
|
698
|
-
:
|
|
699
|
-
:
|
|
696
|
+
name: 'passenger_sticky_sessions_cookie_name',
|
|
697
|
+
scope: :location,
|
|
698
|
+
type: :string,
|
|
699
|
+
default: DEFAULT_STICKY_SESSIONS_COOKIE_NAME,
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
|
-
:
|
|
703
|
-
:
|
|
704
|
-
:
|
|
705
|
-
:
|
|
702
|
+
name: 'passenger_sticky_sessions_cookie_attributes',
|
|
703
|
+
scope: :location,
|
|
704
|
+
type: :string,
|
|
705
|
+
default: DEFAULT_STICKY_SESSIONS_COOKIE_ATTRIBUTES,
|
|
706
706
|
},
|
|
707
707
|
{
|
|
708
|
-
:
|
|
709
|
-
:
|
|
710
|
-
:
|
|
708
|
+
name: 'passenger_vary_turbocache_by_cookie',
|
|
709
|
+
scope: :location,
|
|
710
|
+
type: :string,
|
|
711
711
|
},
|
|
712
712
|
|
|
713
713
|
|
|
714
714
|
###### Enterprise features (placeholders in OSS) ######
|
|
715
715
|
|
|
716
716
|
{
|
|
717
|
-
:
|
|
718
|
-
:
|
|
719
|
-
:
|
|
720
|
-
:
|
|
721
|
-
:
|
|
722
|
-
:
|
|
723
|
-
:
|
|
717
|
+
context: [ :main ],
|
|
718
|
+
name: 'passenger_fly_with',
|
|
719
|
+
scope: :global,
|
|
720
|
+
type: :string,
|
|
721
|
+
struct: "NGX_HTTP_MAIN_CONF_OFFSET",
|
|
722
|
+
function: 'passenger_enterprise_only',
|
|
723
|
+
field: nil,
|
|
724
724
|
},
|
|
725
725
|
{
|
|
726
|
-
:
|
|
727
|
-
:
|
|
728
|
-
:
|
|
729
|
-
:
|
|
730
|
-
:
|
|
726
|
+
name: 'passenger_max_instances',
|
|
727
|
+
scope: :application,
|
|
728
|
+
type: :integer,
|
|
729
|
+
function: 'passenger_enterprise_only',
|
|
730
|
+
field: nil,
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
|
-
:
|
|
734
|
-
:
|
|
735
|
-
:
|
|
736
|
-
:
|
|
737
|
-
:
|
|
733
|
+
name: 'passenger_memory_limit',
|
|
734
|
+
scope: :application,
|
|
735
|
+
type: :integer,
|
|
736
|
+
function: 'passenger_enterprise_only',
|
|
737
|
+
field: nil,
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
|
-
:
|
|
741
|
-
:
|
|
742
|
-
:
|
|
743
|
-
:
|
|
744
|
-
:
|
|
740
|
+
name: 'passenger_concurrency_model',
|
|
741
|
+
scope: :application,
|
|
742
|
+
type: :string,
|
|
743
|
+
function: 'passenger_enterprise_only',
|
|
744
|
+
field: nil,
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
|
-
:
|
|
748
|
-
:
|
|
749
|
-
:
|
|
750
|
-
:
|
|
751
|
-
:
|
|
747
|
+
name: 'passenger_thread_count',
|
|
748
|
+
scope: :application,
|
|
749
|
+
type: :integer,
|
|
750
|
+
function: 'passenger_enterprise_only',
|
|
751
|
+
field: nil,
|
|
752
752
|
},
|
|
753
753
|
{
|
|
754
|
-
:
|
|
755
|
-
:
|
|
756
|
-
:
|
|
757
|
-
:
|
|
758
|
-
:
|
|
754
|
+
name: 'passenger_rolling_restarts',
|
|
755
|
+
scope: :application,
|
|
756
|
+
type: :flag,
|
|
757
|
+
function: 'passenger_enterprise_only',
|
|
758
|
+
field: nil,
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
:
|
|
762
|
-
:
|
|
763
|
-
:
|
|
764
|
-
:
|
|
765
|
-
:
|
|
761
|
+
name: 'passenger_resist_deployment_errors',
|
|
762
|
+
scope: :application,
|
|
763
|
+
type: :flag,
|
|
764
|
+
function: 'passenger_enterprise_only',
|
|
765
|
+
field: nil,
|
|
766
766
|
},
|
|
767
767
|
{
|
|
768
|
-
:
|
|
769
|
-
:
|
|
770
|
-
:
|
|
771
|
-
:
|
|
772
|
-
:
|
|
768
|
+
name: 'passenger_max_request_time',
|
|
769
|
+
scope: :location,
|
|
770
|
+
type: :integer,
|
|
771
|
+
function: 'passenger_enterprise_only',
|
|
772
|
+
field: nil,
|
|
773
773
|
},
|
|
774
774
|
{
|
|
775
|
-
:
|
|
776
|
-
:
|
|
777
|
-
:
|
|
778
|
-
:
|
|
779
|
-
:
|
|
775
|
+
name: 'passenger_max_request_queue_time',
|
|
776
|
+
scope: :location,
|
|
777
|
+
type: :integer,
|
|
778
|
+
function: 'passenger_enterprise_only',
|
|
779
|
+
field: nil,
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
|
-
:
|
|
783
|
-
:
|
|
784
|
-
:
|
|
785
|
-
:
|
|
786
|
-
:
|
|
782
|
+
name: 'passenger_app_log_file',
|
|
783
|
+
scope: :application,
|
|
784
|
+
type: :string,
|
|
785
|
+
function: 'passenger_enterprise_only',
|
|
786
|
+
dynamic_default: 'passenger_log_file',
|
|
787
787
|
},
|
|
788
788
|
|
|
789
789
|
|
|
790
790
|
###### Aliases and backwards compatibility options ######
|
|
791
791
|
|
|
792
792
|
{
|
|
793
|
-
:
|
|
794
|
-
:
|
|
793
|
+
name: 'passenger_debug_log_file',
|
|
794
|
+
alias_for: 'passenger_log_file',
|
|
795
795
|
},
|
|
796
796
|
{
|
|
797
|
-
:
|
|
798
|
-
:
|
|
797
|
+
name: 'rails_spawn_method',
|
|
798
|
+
alias_for: 'passenger_spawn_method',
|
|
799
799
|
},
|
|
800
800
|
{
|
|
801
|
-
:
|
|
802
|
-
:
|
|
801
|
+
name: 'rails_env',
|
|
802
|
+
alias_for: 'passenger_app_env',
|
|
803
803
|
},
|
|
804
804
|
{
|
|
805
|
-
:
|
|
806
|
-
:
|
|
805
|
+
name: 'rack_env',
|
|
806
|
+
alias_for: 'passenger_app_env',
|
|
807
807
|
},
|
|
808
808
|
{
|
|
809
|
-
:
|
|
810
|
-
:
|
|
809
|
+
name: 'rails_app_spawner_idle_time',
|
|
810
|
+
alias_for: 'passenger_max_preloader_idle_time',
|
|
811
811
|
},
|
|
812
812
|
|
|
813
813
|
|
|
814
814
|
###### Deprecated/obsolete options ######
|
|
815
815
|
|
|
816
816
|
{
|
|
817
|
-
:
|
|
818
|
-
:
|
|
819
|
-
:
|
|
820
|
-
:
|
|
821
|
-
:
|
|
817
|
+
name: 'rails_framework_spawner_idle_time',
|
|
818
|
+
scope: :application,
|
|
819
|
+
take: 'NGX_CONF_TAKE1',
|
|
820
|
+
function: 'rails_framework_spawner_idle_time',
|
|
821
|
+
field: nil,
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
:
|
|
825
|
-
:
|
|
826
|
-
:
|
|
827
|
-
:
|
|
828
|
-
:
|
|
824
|
+
name: 'passenger_use_global_queue',
|
|
825
|
+
scope: :global,
|
|
826
|
+
take: 'NGX_CONF_FLAG',
|
|
827
|
+
function: 'passenger_use_global_queue',
|
|
828
|
+
field: nil,
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
|
-
:
|
|
832
|
-
:
|
|
833
|
-
:
|
|
834
|
-
:
|
|
835
|
-
:
|
|
836
|
-
:
|
|
831
|
+
name: 'passenger_analytics_log_user',
|
|
832
|
+
scope: :global,
|
|
833
|
+
context: [ :main ],
|
|
834
|
+
type: :string,
|
|
835
|
+
function: 'passenger_obsolete_directive',
|
|
836
|
+
field: nil,
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
|
-
:
|
|
840
|
-
:
|
|
841
|
-
:
|
|
842
|
-
:
|
|
843
|
-
:
|
|
844
|
-
:
|
|
839
|
+
name: 'passenger_analytics_log_group',
|
|
840
|
+
scope: :global,
|
|
841
|
+
context: [ :main ],
|
|
842
|
+
type: :string,
|
|
843
|
+
function: 'passenger_obsolete_directive',
|
|
844
|
+
field: nil,
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
|
-
:
|
|
848
|
-
:
|
|
849
|
-
:
|
|
850
|
-
:
|
|
851
|
-
:
|
|
852
|
-
:
|
|
847
|
+
name: 'union_station_gateway_address',
|
|
848
|
+
scope: :global,
|
|
849
|
+
context: [ :main ],
|
|
850
|
+
type: :string,
|
|
851
|
+
function: 'passenger_obsolete_directive',
|
|
852
|
+
field: nil,
|
|
853
853
|
},
|
|
854
854
|
{
|
|
855
|
-
:
|
|
856
|
-
:
|
|
857
|
-
:
|
|
858
|
-
:
|
|
859
|
-
:
|
|
860
|
-
:
|
|
855
|
+
name: 'union_station_gateway_port',
|
|
856
|
+
scope: :global,
|
|
857
|
+
context: [ :main ],
|
|
858
|
+
type: :integer,
|
|
859
|
+
function: 'passenger_obsolete_directive',
|
|
860
|
+
field: nil,
|
|
861
861
|
},
|
|
862
862
|
{
|
|
863
|
-
:
|
|
864
|
-
:
|
|
865
|
-
:
|
|
866
|
-
:
|
|
867
|
-
:
|
|
868
|
-
:
|
|
863
|
+
name: 'union_station_gateway_cert',
|
|
864
|
+
scope: :global,
|
|
865
|
+
context: [ :main ],
|
|
866
|
+
type: :string,
|
|
867
|
+
function: 'passenger_obsolete_directive',
|
|
868
|
+
field: nil,
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
|
-
:
|
|
872
|
-
:
|
|
873
|
-
:
|
|
874
|
-
:
|
|
875
|
-
:
|
|
876
|
-
:
|
|
871
|
+
name: 'union_station_proxy_address',
|
|
872
|
+
scope: :global,
|
|
873
|
+
context: [ :main ],
|
|
874
|
+
type: :string,
|
|
875
|
+
function: 'passenger_obsolete_directive',
|
|
876
|
+
field: nil,
|
|
877
877
|
},
|
|
878
878
|
{
|
|
879
|
-
:
|
|
880
|
-
:
|
|
881
|
-
:
|
|
882
|
-
:
|
|
883
|
-
:
|
|
879
|
+
name: 'union_station_key',
|
|
880
|
+
scope: :application,
|
|
881
|
+
type: :string,
|
|
882
|
+
function: 'passenger_obsolete_directive',
|
|
883
|
+
field: nil,
|
|
884
884
|
},
|
|
885
885
|
{
|
|
886
|
-
:
|
|
887
|
-
:
|
|
888
|
-
:
|
|
889
|
-
:
|
|
890
|
-
:
|
|
886
|
+
name: 'union_station_support',
|
|
887
|
+
scope: :application,
|
|
888
|
+
type: :flag,
|
|
889
|
+
function: 'passenger_obsolete_directive',
|
|
890
|
+
field: nil,
|
|
891
891
|
},
|
|
892
892
|
{
|
|
893
|
-
:
|
|
894
|
-
:
|
|
895
|
-
:
|
|
896
|
-
:
|
|
897
|
-
:
|
|
898
|
-
:
|
|
893
|
+
name: 'union_station_filter',
|
|
894
|
+
scope: :application,
|
|
895
|
+
take: 'NGX_CONF_TAKE1',
|
|
896
|
+
type: :string_array,
|
|
897
|
+
function: 'passenger_obsolete_directive',
|
|
898
|
+
field: nil,
|
|
899
899
|
},
|
|
900
900
|
]
|