passenger 5.0.28 → 5.0.29

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of passenger might be problematic. Click here for more details.

Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +5 -0
  3. data/CHANGELOG +13 -0
  4. data/build/apache2.rb +3 -3
  5. data/build/common_library.rb +3 -3
  6. data/build/nginx.rb +4 -4
  7. data/build/packaging.rb +9 -8
  8. data/build/support/cxx_dependency_map.rb +9 -7
  9. data/build/support/general.rb +39 -0
  10. data/build/support/vendor/cxxcodebuilder/CxxCodeBuilder.sublime-project +8 -0
  11. data/build/support/vendor/cxxcodebuilder/Gemfile +4 -0
  12. data/build/support/vendor/cxxcodebuilder/Gemfile.lock +28 -0
  13. data/build/support/vendor/cxxcodebuilder/LICENSE.md +19 -0
  14. data/build/support/vendor/cxxcodebuilder/README.md +98 -0
  15. data/build/support/vendor/cxxcodebuilder/Rakefile +4 -0
  16. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder.rb +23 -0
  17. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +574 -0
  18. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/initializer_builder.rb +166 -0
  19. data/build/test_basics.rb +2 -1
  20. data/resources/templates/standalone/server.erb +6 -4
  21. data/src/agent/Core/Controller/ForwardResponse.cpp +5 -5
  22. data/src/agent/Watchdog/WatchdogMain.cpp +0 -10
  23. data/src/apache2_module/ConfigurationCommands.cpp +181 -248
  24. data/src/apache2_module/ConfigurationCommands.cpp.cxxcodebuilder +127 -0
  25. data/src/apache2_module/ConfigurationFields.hpp +135 -51
  26. data/src/apache2_module/ConfigurationFields.hpp.cxxcodebuilder +113 -0
  27. data/src/apache2_module/ConfigurationSetters.cpp +414 -459
  28. data/src/apache2_module/ConfigurationSetters.cpp.cxxcodebuilder +144 -0
  29. data/src/apache2_module/CreateDirConfig.cpp +49 -52
  30. data/src/apache2_module/CreateDirConfig.cpp.cxxcodebuilder +81 -0
  31. data/src/apache2_module/Hooks.cpp +0 -14
  32. data/src/apache2_module/MergeDirConfig.cpp +136 -226
  33. data/src/apache2_module/MergeDirConfig.cpp.cxxcodebuilder +97 -0
  34. data/src/apache2_module/SetHeaders.cpp +92 -143
  35. data/src/apache2_module/SetHeaders.cpp.cxxcodebuilder +106 -0
  36. data/src/cxx_supportlib/Constants.h +86 -146
  37. data/src/cxx_supportlib/Constants.h.cxxcodebuilder +43 -0
  38. data/src/cxx_supportlib/DataStructures/LString.h +40 -23
  39. data/src/cxx_supportlib/MemoryKit/mbuf.cpp +60 -25
  40. data/src/cxx_supportlib/MemoryKit/mbuf.h +50 -25
  41. data/src/cxx_supportlib/ServerKit/CookieUtils.h +36 -3
  42. data/src/cxx_supportlib/ServerKit/HeaderTable.h +2 -8
  43. data/src/cxx_supportlib/ServerKit/HttpServer.h +6 -15
  44. data/src/cxx_supportlib/WatchdogLauncher.cpp +4 -4
  45. data/src/cxx_supportlib/WatchdogLauncher.h +2 -3
  46. data/src/nginx_module/CacheLocationConfig.c +623 -780
  47. data/src/nginx_module/CacheLocationConfig.c.cxxcodebuilder +214 -0
  48. data/src/nginx_module/Configuration.h +1 -1
  49. data/src/nginx_module/ConfigurationCommands.c +404 -535
  50. data/src/nginx_module/ConfigurationCommands.c.cxxcodebuilder +157 -0
  51. data/src/nginx_module/CreateLocationConfig.c +82 -206
  52. data/src/nginx_module/CreateLocationConfig.c.cxxcodebuilder +98 -0
  53. data/src/nginx_module/LocationConfig.h +97 -0
  54. data/src/nginx_module/LocationConfig.h.cxxcodebuilder +131 -0
  55. data/src/nginx_module/MergeLocationConfig.c +157 -278
  56. data/src/nginx_module/MergeLocationConfig.c.cxxcodebuilder +144 -0
  57. data/src/nginx_module/ngx_http_passenger_module.c +4 -10
  58. data/src/ruby_supportlib/phusion_passenger.rb +4 -4
  59. data/src/ruby_supportlib/phusion_passenger/config/validate_install_command.rb +2 -2
  60. data/src/ruby_supportlib/phusion_passenger/packaging.rb +2 -0
  61. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +6 -0
  62. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
  63. data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +27 -8
  64. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +120 -2
  65. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/lock_file.rb +1 -1
  66. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/spawn.rb +4 -4
  67. data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller/version.rb +1 -1
  68. data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/api.rb +5 -5
  69. metadata +24 -15
  70. data/src/apache2_module/ConfigurationCommands.cpp.erb +0 -109
  71. data/src/apache2_module/ConfigurationFields.hpp.erb +0 -98
  72. data/src/apache2_module/ConfigurationSetters.cpp.erb +0 -128
  73. data/src/apache2_module/CreateDirConfig.cpp.erb +0 -72
  74. data/src/apache2_module/MergeDirConfig.cpp.erb +0 -82
  75. data/src/apache2_module/SetHeaders.cpp.erb +0 -91
  76. data/src/cxx_supportlib/Constants.h.erb +0 -41
  77. data/src/nginx_module/CacheLocationConfig.c.erb +0 -171
  78. data/src/nginx_module/ConfigurationCommands.c.erb +0 -144
  79. data/src/nginx_module/ConfigurationFields.h +0 -145
  80. data/src/nginx_module/ConfigurationFields.h.erb +0 -112
  81. data/src/nginx_module/CreateLocationConfig.c.erb +0 -78
  82. data/src/nginx_module/MergeLocationConfig.c.erb +0 -118
@@ -0,0 +1,214 @@
1
+ # Phusion Passenger - https://www.phusionpassenger.com/
2
+ # Copyright (c) 2010-2016 Phusion Holding B.V.
3
+ #
4
+ # "Passenger", "Phusion Passenger" and "Union Station" are registered
5
+ # trademarks of Phusion Holding B.V.
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in
15
+ # all copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ # THE SOFTWARE.
24
+
25
+ # This file uses the cxxcodebuilder API. Learn more at:
26
+ # https://github.com/phusion/passenger/cxxcodebuilder
27
+
28
+ require 'phusion_passenger/nginx/config_options'
29
+
30
+ def main
31
+ set_indent_string ' '
32
+ comment copyright_header_for(__FILE__)
33
+
34
+ separator
35
+
36
+ comment %q{
37
+ CacheLocationConfig.c is automatically generated from CacheLocationConfig.c.cxxcodebuilder,
38
+ using definitions from src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.
39
+ Edits to CacheLocationConfig.c will be lost.
40
+
41
+ To update CacheLocationConfig.c:
42
+ rake nginx
43
+
44
+ To force regeneration of CacheLocationConfig.c:
45
+ rm -f src/nginx_module/CacheLocationConfig.c
46
+ rake src/nginx_module/CacheLocationConfig.c
47
+ }
48
+
49
+ comment '0: NGX_ERROR, 1: OK'
50
+ function('int generated_cache_location_part(ngx_conf_t *cf, passenger_loc_conf_t *conf)') do
51
+ add_code %q{
52
+ size_t len = 0;
53
+ u_char int_buf[32], *end, *buf, *pos;
54
+ }
55
+
56
+ separator
57
+ comment 'Calculate lengths'
58
+ separator
59
+
60
+ filter_eligible_options(LOCATION_CONFIGURATION_OPTIONS).each do |option|
61
+ if option[:type] == :string
62
+ add_code %Q{
63
+ if (conf->#{struct_field_for(option)}.data != NULL) {
64
+ len += sizeof("!~#{header_name_for(option)}: ") - 1;
65
+ len += conf->#{struct_field_for(option)}.len;
66
+ len += sizeof("\\r\\n") - 1;
67
+ }
68
+ }
69
+ elsif option[:type] == :integer
70
+ add_code %Q{
71
+ if (conf->#{struct_field_for(option)} != NGX_CONF_UNSET) {
72
+ end = ngx_snprintf(int_buf,
73
+ sizeof(int_buf) - 1,
74
+ "%d",
75
+ conf->#{struct_field_for(option)});
76
+ len += sizeof("!~#{header_name_for(option)}: ") - 1;
77
+ len += end - int_buf;
78
+ len += sizeof("\\r\\n") - 1;
79
+ }
80
+ }
81
+ elsif option[:type] == :uinteger
82
+ add_code %Q{
83
+ if (conf->#{struct_field_for(option)} != NGX_CONF_UNSET_UINT) {
84
+ end = ngx_snprintf(int_buf,
85
+ sizeof(int_buf) - 1,
86
+ "%ui",
87
+ conf->#{struct_field_for(option)});
88
+ len += sizeof("!~#{header_name_for(option)}: ") - 1;
89
+ len += end - int_buf;
90
+ len += sizeof("\\r\\n") - 1;
91
+ }
92
+ }
93
+ elsif option[:type] == :flag
94
+ add_code %Q{
95
+ if (conf->#{struct_field_for(option)} != NGX_CONF_UNSET) {
96
+ len += sizeof("!~#{header_name_for(option)}: ") - 1;
97
+ len += conf->#{struct_field_for(option)}
98
+ ? sizeof("t\\r\\n") - 1
99
+ : sizeof("f\\r\\n") - 1;
100
+ }
101
+ }
102
+ else
103
+ raise "Unknown option type #{option[:type].inspect} for option #{option[:name]}"
104
+ end
105
+
106
+ separator
107
+ end
108
+
109
+ separator
110
+
111
+ add_code %q{
112
+ /* Create string */
113
+ buf = pos = ngx_pnalloc(cf->pool, len);
114
+ if (buf == NULL) {
115
+ return 0;
116
+ }
117
+ }
118
+
119
+ separator
120
+
121
+ filter_eligible_options(LOCATION_CONFIGURATION_OPTIONS).each do |option|
122
+ if option[:type] == :string
123
+ add_code %Q{
124
+ if (conf->#{struct_field_for(option)}.data != NULL) {
125
+ pos = ngx_copy(pos,
126
+ "!~#{header_name_for(option)}: ",
127
+ sizeof("!~#{header_name_for(option)}: ") - 1);
128
+ pos = ngx_copy(pos,
129
+ conf->#{struct_field_for(option)}.data,
130
+ conf->#{struct_field_for(option)}.len);
131
+ pos = ngx_copy(pos, (const u_char *) "\\r\\n", sizeof("\\r\\n") - 1);
132
+ }
133
+ }
134
+ elsif option[:type] == :integer
135
+ add_code %Q{
136
+ if (conf->#{struct_field_for(option)} != NGX_CONF_UNSET) {
137
+ pos = ngx_copy(pos,
138
+ "!~#{header_name_for(option)}: ",
139
+ sizeof("!~#{header_name_for(option)}: ") - 1);
140
+ end = ngx_snprintf(int_buf,
141
+ sizeof(int_buf) - 1,
142
+ "%d",
143
+ conf->#{struct_field_for(option)});
144
+ pos = ngx_copy(pos, int_buf, end - int_buf);
145
+ pos = ngx_copy(pos, (const u_char *) "\\r\\n", sizeof("\\r\\n") - 1);
146
+ }
147
+ }
148
+ elsif option[:type] == :uinteger
149
+ add_code %Q{
150
+ if (conf->#{struct_field_for(option)} != NGX_CONF_UNSET_UINT) {
151
+ pos = ngx_copy(pos,
152
+ "!~#{header_name_for(option)}: ",
153
+ sizeof("!~#{header_name_for(option)}: ") - 1);
154
+ end = ngx_snprintf(int_buf,
155
+ sizeof(int_buf) - 1,
156
+ "%ui",
157
+ conf->#{struct_field_for(option)});
158
+ pos = ngx_copy(pos, int_buf, end - int_buf);
159
+ pos = ngx_copy(pos, (const u_char *) "\\r\\n", sizeof("\\r\\n") - 1);
160
+ }
161
+ }
162
+ elsif option[:type] == :flag
163
+ add_code %Q{
164
+ if (conf->#{struct_field_for(option)} != NGX_CONF_UNSET) {
165
+ pos = ngx_copy(pos,
166
+ "!~#{header_name_for(option)}: ",
167
+ sizeof("!~#{header_name_for(option)}: ") - 1);
168
+ if (conf->#{struct_field_for(option)}) {
169
+ pos = ngx_copy(pos, "t\\r\\n", sizeof("t\\r\\n") - 1);
170
+ } else {
171
+ pos = ngx_copy(pos, "f\\r\\n", sizeof("f\\r\\n") - 1);
172
+ }
173
+ }
174
+ }
175
+
176
+ separator
177
+ else
178
+ raise "Unknown option type #{option[:type].inspect} for option #{option[:name]}"
179
+ end
180
+ end
181
+
182
+ separator
183
+
184
+ add_code %q{
185
+ conf->options_cache.data = buf;
186
+ conf->options_cache.len = pos - buf;
187
+
188
+ return 1;
189
+ }
190
+ end
191
+ end
192
+
193
+ def filter_eligible_options(options)
194
+ options.reject do |option|
195
+ option[:alias_for] ||
196
+ option.fetch(:field, true).nil? ||
197
+ option[:field].to_s =~ /\./ ||
198
+ !option.fetch(:header, true)
199
+ end
200
+ end
201
+
202
+ def struct_field_for(option)
203
+ if option.has_key?(:field)
204
+ option[:field]
205
+ else
206
+ option[:name].sub(/^passenger_/, '')
207
+ end
208
+ end
209
+
210
+ def header_name_for(option)
211
+ option[:header] || option[:name].upcase
212
+ end
213
+
214
+ main
@@ -31,7 +31,7 @@
31
31
  #include <ngx_config.h>
32
32
  #include <ngx_http.h>
33
33
 
34
- #include "ConfigurationFields.h"
34
+ #include "LocationConfig.h"
35
35
 
36
36
  typedef struct {
37
37
  ngx_str_t root_dir;
@@ -1,31 +1,31 @@
1
1
  /*
2
- * Phusion Passenger - https://www.phusionpassenger.com/
3
- * Copyright (c) 2010-2015 Phusion Holding B.V.
2
+ * Phusion Passenger - https://www.phusionpassenger.com/
3
+ * Copyright (c) 2010-2016 Phusion Holding B.V.
4
4
  *
5
- * "Passenger", "Phusion Passenger" and "Union Station" are registered
6
- * trademarks of Phusion Holding B.V.
5
+ * "Passenger", "Phusion Passenger" and "Union Station" are registered
6
+ * trademarks of Phusion Holding B.V.
7
7
  *
8
- * Permission is hereby granted, free of charge, to any person obtaining a copy
9
- * of this software and associated documentation files (the "Software"), to deal
10
- * in the Software without restriction, including without limitation the rights
11
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- * copies of the Software, and to permit persons to whom the Software is
13
- * furnished to do so, subject to the following conditions:
8
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ * of this software and associated documentation files (the "Software"), to deal
10
+ * in the Software without restriction, including without limitation the rights
11
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ * copies of the Software, and to permit persons to whom the Software is
13
+ * furnished to do so, subject to the following conditions:
14
14
  *
15
- * The above copyright notice and this permission notice shall be included in
16
- * all copies or substantial portions of the Software.
15
+ * The above copyright notice and this permission notice shall be included in
16
+ * all copies or substantial portions of the Software.
17
17
  *
18
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
- * THE SOFTWARE.
18
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ * THE SOFTWARE.
25
25
  */
26
26
 
27
27
  /*
28
- * ConfigurationCommands.c is automatically generated from ConfigurationCommands.c.erb,
28
+ * ConfigurationCommands.c is automatically generated from ConfigurationCommands.c.cxxcodebuilder,
29
29
  * using definitions from src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.
30
30
  * Edits to ConfigurationCommands.c will be lost.
31
31
  *
@@ -37,646 +37,515 @@
37
37
  * rake src/nginx_module/ConfigurationCommands.c
38
38
  */
39
39
 
40
-
41
-
42
-
43
40
  {
44
-
45
- ngx_string("passenger_socket_backlog"),
46
- NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
47
- ngx_conf_set_num_slot,
48
- NGX_HTTP_MAIN_CONF_OFFSET,
49
- offsetof(passenger_main_conf_t, socket_backlog),
50
- NULL
41
+ ngx_string("passenger_socket_backlog"),
42
+ NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
43
+ ngx_conf_set_num_slot,
44
+ NGX_HTTP_MAIN_CONF_OFFSET,
45
+ offsetof(passenger_main_conf_t, socket_backlog),
46
+ NULL
51
47
  },
52
-
53
48
  {
54
-
55
- ngx_string("passenger_core_file_descriptor_ulimit"),
56
- NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
57
- ngx_conf_set_num_slot,
58
- NGX_HTTP_MAIN_CONF_OFFSET,
59
- offsetof(passenger_main_conf_t, core_file_descriptor_ulimit),
60
- NULL
49
+ ngx_string("passenger_core_file_descriptor_ulimit"),
50
+ NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
51
+ ngx_conf_set_num_slot,
52
+ NGX_HTTP_MAIN_CONF_OFFSET,
53
+ offsetof(passenger_main_conf_t, core_file_descriptor_ulimit),
54
+ NULL
61
55
  },
62
-
63
56
  {
64
-
65
- ngx_string("passenger_app_file_descriptor_ulimit"),
66
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
67
- ngx_conf_set_num_slot,
68
- NGX_HTTP_LOC_CONF_OFFSET,
69
- offsetof(passenger_loc_conf_t, app_file_descriptor_ulimit),
70
- NULL
57
+ ngx_string("passenger_app_file_descriptor_ulimit"),
58
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
59
+ ngx_conf_set_num_slot,
60
+ NGX_HTTP_LOC_CONF_OFFSET,
61
+ offsetof(passenger_loc_conf_t, app_file_descriptor_ulimit),
62
+ NULL
71
63
  },
72
-
73
64
  {
74
-
75
- ngx_string("passenger_enabled"),
76
- NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
77
- passenger_enabled,
78
- NGX_HTTP_LOC_CONF_OFFSET,
79
- offsetof(passenger_loc_conf_t, enabled),
80
- NULL
65
+ ngx_string("passenger_enabled"),
66
+ NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
67
+ passenger_enabled,
68
+ NGX_HTTP_LOC_CONF_OFFSET,
69
+ offsetof(passenger_loc_conf_t, enabled),
70
+ NULL
81
71
  },
82
-
83
72
  {
84
-
85
- ngx_string("passenger_ruby"),
86
- NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
87
- ngx_conf_set_str_slot,
88
- NGX_HTTP_LOC_CONF_OFFSET,
89
- offsetof(passenger_loc_conf_t, ruby),
90
- NULL
73
+ ngx_string("passenger_ruby"),
74
+ NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
75
+ ngx_conf_set_str_slot,
76
+ NGX_HTTP_LOC_CONF_OFFSET,
77
+ offsetof(passenger_loc_conf_t, ruby),
78
+ NULL
91
79
  },
92
-
93
80
  {
94
-
95
- ngx_string("passenger_python"),
96
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
97
- ngx_conf_set_str_slot,
98
- NGX_HTTP_LOC_CONF_OFFSET,
99
- offsetof(passenger_loc_conf_t, python),
100
- NULL
81
+ ngx_string("passenger_python"),
82
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
83
+ ngx_conf_set_str_slot,
84
+ NGX_HTTP_LOC_CONF_OFFSET,
85
+ offsetof(passenger_loc_conf_t, python),
86
+ NULL
101
87
  },
102
-
103
88
  {
104
-
105
- ngx_string("passenger_nodejs"),
106
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
107
- ngx_conf_set_str_slot,
108
- NGX_HTTP_LOC_CONF_OFFSET,
109
- offsetof(passenger_loc_conf_t, nodejs),
110
- NULL
89
+ ngx_string("passenger_nodejs"),
90
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
91
+ ngx_conf_set_str_slot,
92
+ NGX_HTTP_LOC_CONF_OFFSET,
93
+ offsetof(passenger_loc_conf_t, nodejs),
94
+ NULL
111
95
  },
112
-
113
96
  {
114
-
115
- ngx_string("passenger_meteor_app_settings"),
116
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
117
- ngx_conf_set_str_slot,
118
- NGX_HTTP_LOC_CONF_OFFSET,
119
- offsetof(passenger_loc_conf_t, meteor_app_settings),
120
- NULL
97
+ ngx_string("passenger_meteor_app_settings"),
98
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
99
+ ngx_conf_set_str_slot,
100
+ NGX_HTTP_LOC_CONF_OFFSET,
101
+ offsetof(passenger_loc_conf_t, meteor_app_settings),
102
+ NULL
121
103
  },
122
-
123
104
  {
124
-
125
- ngx_string("passenger_app_env"),
126
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
127
- ngx_conf_set_str_slot,
128
- NGX_HTTP_LOC_CONF_OFFSET,
129
- offsetof(passenger_loc_conf_t, environment),
130
- NULL
105
+ ngx_string("passenger_app_env"),
106
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
107
+ ngx_conf_set_str_slot,
108
+ NGX_HTTP_LOC_CONF_OFFSET,
109
+ offsetof(passenger_loc_conf_t, environment),
110
+ NULL
131
111
  },
132
-
133
112
  {
134
-
135
- ngx_string("passenger_friendly_error_pages"),
136
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
137
- ngx_conf_set_flag_slot,
138
- NGX_HTTP_LOC_CONF_OFFSET,
139
- offsetof(passenger_loc_conf_t, friendly_error_pages),
140
- NULL
113
+ ngx_string("passenger_friendly_error_pages"),
114
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
115
+ ngx_conf_set_flag_slot,
116
+ NGX_HTTP_LOC_CONF_OFFSET,
117
+ offsetof(passenger_loc_conf_t, friendly_error_pages),
118
+ NULL
141
119
  },
142
-
143
120
  {
144
-
145
- ngx_string("passenger_min_instances"),
146
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
147
- ngx_conf_set_num_slot,
148
- NGX_HTTP_LOC_CONF_OFFSET,
149
- offsetof(passenger_loc_conf_t, min_instances),
150
- NULL
121
+ ngx_string("passenger_min_instances"),
122
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
123
+ ngx_conf_set_num_slot,
124
+ NGX_HTTP_LOC_CONF_OFFSET,
125
+ offsetof(passenger_loc_conf_t, min_instances),
126
+ NULL
151
127
  },
152
-
153
128
  {
154
-
155
- ngx_string("passenger_max_instances_per_app"),
156
- NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
157
- ngx_conf_set_num_slot,
158
- NGX_HTTP_LOC_CONF_OFFSET,
159
- offsetof(passenger_loc_conf_t, max_instances_per_app),
160
- NULL
129
+ ngx_string("passenger_max_instances_per_app"),
130
+ NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
131
+ ngx_conf_set_num_slot,
132
+ NGX_HTTP_LOC_CONF_OFFSET,
133
+ offsetof(passenger_loc_conf_t, max_instances_per_app),
134
+ NULL
161
135
  },
162
-
163
136
  {
164
-
165
- ngx_string("passenger_max_requests"),
166
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
167
- ngx_conf_set_num_slot,
168
- NGX_HTTP_LOC_CONF_OFFSET,
169
- offsetof(passenger_loc_conf_t, max_requests),
170
- NULL
137
+ ngx_string("passenger_max_requests"),
138
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
139
+ ngx_conf_set_num_slot,
140
+ NGX_HTTP_LOC_CONF_OFFSET,
141
+ offsetof(passenger_loc_conf_t, max_requests),
142
+ NULL
171
143
  },
172
-
173
144
  {
174
-
175
- ngx_string("passenger_start_timeout"),
176
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
177
- ngx_conf_set_num_slot,
178
- NGX_HTTP_LOC_CONF_OFFSET,
179
- offsetof(passenger_loc_conf_t, start_timeout),
180
- NULL
145
+ ngx_string("passenger_start_timeout"),
146
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
147
+ ngx_conf_set_num_slot,
148
+ NGX_HTTP_LOC_CONF_OFFSET,
149
+ offsetof(passenger_loc_conf_t, start_timeout),
150
+ NULL
181
151
  },
182
-
183
152
  {
184
-
185
- ngx_string("passenger_base_uri"),
186
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
187
- ngx_conf_set_str_array_slot,
188
- NGX_HTTP_LOC_CONF_OFFSET,
189
- offsetof(passenger_loc_conf_t, base_uris),
190
- NULL
153
+ ngx_string("passenger_base_uri"),
154
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
155
+ ngx_conf_set_str_array_slot,
156
+ NGX_HTTP_LOC_CONF_OFFSET,
157
+ offsetof(passenger_loc_conf_t, base_uris),
158
+ NULL
191
159
  },
192
-
193
160
  {
194
-
195
- ngx_string("passenger_document_root"),
196
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
197
- ngx_conf_set_str_slot,
198
- NGX_HTTP_LOC_CONF_OFFSET,
199
- offsetof(passenger_loc_conf_t, document_root),
200
- NULL
161
+ ngx_string("passenger_document_root"),
162
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
163
+ ngx_conf_set_str_slot,
164
+ NGX_HTTP_LOC_CONF_OFFSET,
165
+ offsetof(passenger_loc_conf_t, document_root),
166
+ NULL
201
167
  },
202
-
203
168
  {
204
-
205
- ngx_string("passenger_user"),
206
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
207
- ngx_conf_set_str_slot,
208
- NGX_HTTP_LOC_CONF_OFFSET,
209
- offsetof(passenger_loc_conf_t, user),
210
- NULL
169
+ ngx_string("passenger_user"),
170
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
171
+ ngx_conf_set_str_slot,
172
+ NGX_HTTP_LOC_CONF_OFFSET,
173
+ offsetof(passenger_loc_conf_t, user),
174
+ NULL
211
175
  },
212
-
213
176
  {
214
-
215
- ngx_string("passenger_group"),
216
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
217
- ngx_conf_set_str_slot,
218
- NGX_HTTP_LOC_CONF_OFFSET,
219
- offsetof(passenger_loc_conf_t, group),
220
- NULL
177
+ ngx_string("passenger_group"),
178
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
179
+ ngx_conf_set_str_slot,
180
+ NGX_HTTP_LOC_CONF_OFFSET,
181
+ offsetof(passenger_loc_conf_t, group),
182
+ NULL
221
183
  },
222
-
223
184
  {
224
-
225
- ngx_string("passenger_app_group_name"),
226
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
227
- ngx_conf_set_str_slot,
228
- NGX_HTTP_LOC_CONF_OFFSET,
229
- offsetof(passenger_loc_conf_t, app_group_name),
230
- NULL
185
+ ngx_string("passenger_app_group_name"),
186
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
187
+ ngx_conf_set_str_slot,
188
+ NGX_HTTP_LOC_CONF_OFFSET,
189
+ offsetof(passenger_loc_conf_t, app_group_name),
190
+ NULL
231
191
  },
232
-
233
192
  {
234
-
235
- ngx_string("passenger_app_root"),
236
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
237
- ngx_conf_set_str_slot,
238
- NGX_HTTP_LOC_CONF_OFFSET,
239
- offsetof(passenger_loc_conf_t, app_root),
240
- NULL
193
+ ngx_string("passenger_app_root"),
194
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
195
+ ngx_conf_set_str_slot,
196
+ NGX_HTTP_LOC_CONF_OFFSET,
197
+ offsetof(passenger_loc_conf_t, app_root),
198
+ NULL
241
199
  },
242
-
243
200
  {
244
-
245
- ngx_string("passenger_app_rights"),
246
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
247
- ngx_conf_set_str_slot,
248
- NGX_HTTP_LOC_CONF_OFFSET,
249
- offsetof(passenger_loc_conf_t, app_rights),
250
- NULL
201
+ ngx_string("passenger_app_rights"),
202
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
203
+ ngx_conf_set_str_slot,
204
+ NGX_HTTP_LOC_CONF_OFFSET,
205
+ offsetof(passenger_loc_conf_t, app_rights),
206
+ NULL
251
207
  },
252
-
253
208
  {
254
-
255
- ngx_string("union_station_support"),
256
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
257
- ngx_conf_set_flag_slot,
258
- NGX_HTTP_LOC_CONF_OFFSET,
259
- offsetof(passenger_loc_conf_t, union_station_support),
260
- NULL
209
+ ngx_string("union_station_support"),
210
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
211
+ ngx_conf_set_flag_slot,
212
+ NGX_HTTP_LOC_CONF_OFFSET,
213
+ offsetof(passenger_loc_conf_t, union_station_support),
214
+ NULL
261
215
  },
262
-
263
216
  {
264
-
265
- ngx_string("union_station_filter"),
266
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
267
- union_station_filter,
268
- NGX_HTTP_LOC_CONF_OFFSET,
269
- offsetof(passenger_loc_conf_t, union_station_filters),
270
- NULL
217
+ ngx_string("union_station_filter"),
218
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
219
+ union_station_filter,
220
+ NGX_HTTP_LOC_CONF_OFFSET,
221
+ offsetof(passenger_loc_conf_t, union_station_filters),
222
+ NULL
271
223
  },
272
-
273
224
  {
274
-
275
- ngx_string("passenger_debugger"),
276
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
277
- ngx_conf_set_flag_slot,
278
- NGX_HTTP_LOC_CONF_OFFSET,
279
- offsetof(passenger_loc_conf_t, debugger),
280
- NULL
225
+ ngx_string("passenger_debugger"),
226
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
227
+ ngx_conf_set_flag_slot,
228
+ NGX_HTTP_LOC_CONF_OFFSET,
229
+ offsetof(passenger_loc_conf_t, debugger),
230
+ NULL
281
231
  },
282
-
283
232
  {
284
-
285
- ngx_string("passenger_max_preloader_idle_time"),
286
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
287
- ngx_conf_set_num_slot,
288
- NGX_HTTP_LOC_CONF_OFFSET,
289
- offsetof(passenger_loc_conf_t, max_preloader_idle_time),
290
- NULL
233
+ ngx_string("passenger_max_preloader_idle_time"),
234
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
235
+ ngx_conf_set_num_slot,
236
+ NGX_HTTP_LOC_CONF_OFFSET,
237
+ offsetof(passenger_loc_conf_t, max_preloader_idle_time),
238
+ NULL
291
239
  },
292
-
293
240
  {
294
-
295
- ngx_string("passenger_ignore_headers"),
296
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_1MORE,
297
- ngx_conf_set_bitmask_slot,
298
- NGX_HTTP_LOC_CONF_OFFSET,
299
- offsetof(passenger_loc_conf_t, upstream_config.ignore_headers),
300
- &ngx_http_upstream_ignore_headers_masks
241
+ ngx_string("passenger_ignore_headers"),
242
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_1MORE,
243
+ ngx_conf_set_bitmask_slot,
244
+ NGX_HTTP_LOC_CONF_OFFSET,
245
+ offsetof(passenger_loc_conf_t, upstream_config.ignore_headers),
246
+ &ngx_http_upstream_ignore_headers_masks
301
247
  },
302
-
303
248
  {
304
-
305
- ngx_string("passenger_env_var"),
306
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE2,
307
- ngx_conf_set_keyval_slot,
308
- NGX_HTTP_LOC_CONF_OFFSET,
309
- offsetof(passenger_loc_conf_t, env_vars),
310
- NULL
249
+ ngx_string("passenger_env_var"),
250
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE2,
251
+ ngx_conf_set_keyval_slot,
252
+ NGX_HTTP_LOC_CONF_OFFSET,
253
+ offsetof(passenger_loc_conf_t, env_vars),
254
+ NULL
311
255
  },
312
-
313
256
  {
314
-
315
- ngx_string("passenger_set_header"),
316
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE2,
317
- ngx_conf_set_keyval_slot,
318
- NGX_HTTP_LOC_CONF_OFFSET,
319
- offsetof(passenger_loc_conf_t, headers_source),
320
- NULL
257
+ ngx_string("passenger_set_header"),
258
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE2,
259
+ ngx_conf_set_keyval_slot,
260
+ NGX_HTTP_LOC_CONF_OFFSET,
261
+ offsetof(passenger_loc_conf_t, headers_source),
262
+ NULL
321
263
  },
322
-
323
264
  {
324
-
325
- ngx_string("passenger_pass_header"),
326
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
327
- ngx_conf_set_str_array_slot,
328
- NGX_HTTP_LOC_CONF_OFFSET,
329
- offsetof(passenger_loc_conf_t, upstream_config.pass_headers),
330
- NULL
265
+ ngx_string("passenger_pass_header"),
266
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
267
+ ngx_conf_set_str_array_slot,
268
+ NGX_HTTP_LOC_CONF_OFFSET,
269
+ offsetof(passenger_loc_conf_t, upstream_config.pass_headers),
270
+ NULL
331
271
  },
332
-
333
272
  {
334
-
335
- ngx_string("passenger_headers_hash_max_size"),
336
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
337
- ngx_conf_set_num_slot,
338
- NGX_HTTP_LOC_CONF_OFFSET,
339
- offsetof(passenger_loc_conf_t, headers_hash_max_size),
340
- NULL
273
+ ngx_string("passenger_headers_hash_max_size"),
274
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
275
+ ngx_conf_set_num_slot,
276
+ NGX_HTTP_LOC_CONF_OFFSET,
277
+ offsetof(passenger_loc_conf_t, headers_hash_max_size),
278
+ NULL
341
279
  },
342
-
343
280
  {
344
-
345
- ngx_string("passenger_headers_hash_bucket_size"),
346
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
347
- ngx_conf_set_num_slot,
348
- NGX_HTTP_LOC_CONF_OFFSET,
349
- offsetof(passenger_loc_conf_t, headers_hash_bucket_size),
350
- NULL
281
+ ngx_string("passenger_headers_hash_bucket_size"),
282
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
283
+ ngx_conf_set_num_slot,
284
+ NGX_HTTP_LOC_CONF_OFFSET,
285
+ offsetof(passenger_loc_conf_t, headers_hash_bucket_size),
286
+ NULL
351
287
  },
352
-
353
288
  {
354
-
355
- ngx_string("passenger_ignore_client_abort"),
356
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
357
- ngx_conf_set_flag_slot,
358
- NGX_HTTP_LOC_CONF_OFFSET,
359
- offsetof(passenger_loc_conf_t, upstream_config.ignore_client_abort),
360
- NULL
289
+ ngx_string("passenger_ignore_client_abort"),
290
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
291
+ ngx_conf_set_flag_slot,
292
+ NGX_HTTP_LOC_CONF_OFFSET,
293
+ offsetof(passenger_loc_conf_t, upstream_config.ignore_client_abort),
294
+ NULL
361
295
  },
362
-
363
296
  {
364
-
365
- ngx_string("passenger_buffer_response"),
366
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
367
- ngx_conf_set_flag_slot,
368
- NGX_HTTP_LOC_CONF_OFFSET,
369
- offsetof(passenger_loc_conf_t, upstream_config.buffering),
370
- NULL
297
+ ngx_string("passenger_buffer_response"),
298
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
299
+ ngx_conf_set_flag_slot,
300
+ NGX_HTTP_LOC_CONF_OFFSET,
301
+ offsetof(passenger_loc_conf_t, upstream_config.buffering),
302
+ NULL
371
303
  },
372
-
373
304
  {
374
-
375
- ngx_string("passenger_buffer_size"),
376
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
377
- ngx_conf_set_size_slot,
378
- NGX_HTTP_LOC_CONF_OFFSET,
379
- offsetof(passenger_loc_conf_t, upstream_config.buffer_size),
380
- NULL
305
+ ngx_string("passenger_buffer_size"),
306
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
307
+ ngx_conf_set_size_slot,
308
+ NGX_HTTP_LOC_CONF_OFFSET,
309
+ offsetof(passenger_loc_conf_t, upstream_config.buffer_size),
310
+ NULL
381
311
  },
382
-
383
312
  {
384
-
385
- ngx_string("passenger_buffers"),
386
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE2,
387
- ngx_conf_set_bufs_slot,
388
- NGX_HTTP_LOC_CONF_OFFSET,
389
- offsetof(passenger_loc_conf_t, upstream_config.bufs),
390
- NULL
313
+ ngx_string("passenger_buffers"),
314
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE2,
315
+ ngx_conf_set_bufs_slot,
316
+ NGX_HTTP_LOC_CONF_OFFSET,
317
+ offsetof(passenger_loc_conf_t, upstream_config.bufs),
318
+ NULL
391
319
  },
392
-
393
320
  {
394
-
395
- ngx_string("passenger_busy_buffers_size"),
396
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
397
- ngx_conf_set_size_slot,
398
- NGX_HTTP_LOC_CONF_OFFSET,
399
- offsetof(passenger_loc_conf_t, upstream_config.busy_buffers_size_conf),
400
- NULL
321
+ ngx_string("passenger_busy_buffers_size"),
322
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
323
+ ngx_conf_set_size_slot,
324
+ NGX_HTTP_LOC_CONF_OFFSET,
325
+ offsetof(passenger_loc_conf_t, upstream_config.busy_buffers_size_conf),
326
+ NULL
401
327
  },
402
-
403
328
  {
404
-
405
- ngx_string("passenger_intercept_errors"),
406
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
407
- ngx_conf_set_flag_slot,
408
- NGX_HTTP_LOC_CONF_OFFSET,
409
- offsetof(passenger_loc_conf_t, upstream_config.intercept_errors),
410
- NULL
329
+ ngx_string("passenger_intercept_errors"),
330
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
331
+ ngx_conf_set_flag_slot,
332
+ NGX_HTTP_LOC_CONF_OFFSET,
333
+ offsetof(passenger_loc_conf_t, upstream_config.intercept_errors),
334
+ NULL
411
335
  },
412
-
413
336
  {
414
-
415
- ngx_string("passenger_spawn_method"),
416
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
417
- ngx_conf_set_str_slot,
418
- NGX_HTTP_LOC_CONF_OFFSET,
419
- offsetof(passenger_loc_conf_t, spawn_method),
420
- NULL
337
+ ngx_string("passenger_spawn_method"),
338
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
339
+ ngx_conf_set_str_slot,
340
+ NGX_HTTP_LOC_CONF_OFFSET,
341
+ offsetof(passenger_loc_conf_t, spawn_method),
342
+ NULL
421
343
  },
422
-
423
344
  {
424
-
425
- ngx_string("passenger_load_shell_envvars"),
426
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
427
- ngx_conf_set_flag_slot,
428
- NGX_HTTP_LOC_CONF_OFFSET,
429
- offsetof(passenger_loc_conf_t, load_shell_envvars),
430
- NULL
345
+ ngx_string("passenger_load_shell_envvars"),
346
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
347
+ ngx_conf_set_flag_slot,
348
+ NGX_HTTP_LOC_CONF_OFFSET,
349
+ offsetof(passenger_loc_conf_t, load_shell_envvars),
350
+ NULL
431
351
  },
432
-
433
352
  {
434
-
435
- ngx_string("union_station_key"),
436
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
437
- ngx_conf_set_str_slot,
438
- NGX_HTTP_LOC_CONF_OFFSET,
439
- offsetof(passenger_loc_conf_t, union_station_key),
440
- NULL
353
+ ngx_string("union_station_key"),
354
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
355
+ ngx_conf_set_str_slot,
356
+ NGX_HTTP_LOC_CONF_OFFSET,
357
+ offsetof(passenger_loc_conf_t, union_station_key),
358
+ NULL
441
359
  },
442
-
443
360
  {
444
-
445
- ngx_string("passenger_max_request_queue_size"),
446
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
447
- ngx_conf_set_num_slot,
448
- NGX_HTTP_LOC_CONF_OFFSET,
449
- offsetof(passenger_loc_conf_t, max_request_queue_size),
450
- NULL
361
+ ngx_string("passenger_max_request_queue_size"),
362
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
363
+ ngx_conf_set_num_slot,
364
+ NGX_HTTP_LOC_CONF_OFFSET,
365
+ offsetof(passenger_loc_conf_t, max_request_queue_size),
366
+ NULL
451
367
  },
452
-
453
368
  {
454
-
455
- ngx_string("passenger_request_queue_overflow_status_code"),
456
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
457
- ngx_conf_set_num_slot,
458
- NGX_HTTP_LOC_CONF_OFFSET,
459
- offsetof(passenger_loc_conf_t, request_queue_overflow_status_code),
460
- NULL
369
+ ngx_string("passenger_request_queue_overflow_status_code"),
370
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
371
+ ngx_conf_set_num_slot,
372
+ NGX_HTTP_LOC_CONF_OFFSET,
373
+ offsetof(passenger_loc_conf_t, request_queue_overflow_status_code),
374
+ NULL
461
375
  },
462
-
463
376
  {
464
-
465
- ngx_string("passenger_restart_dir"),
466
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
467
- ngx_conf_set_str_slot,
468
- NGX_HTTP_LOC_CONF_OFFSET,
469
- offsetof(passenger_loc_conf_t, restart_dir),
470
- NULL
377
+ ngx_string("passenger_restart_dir"),
378
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
379
+ ngx_conf_set_str_slot,
380
+ NGX_HTTP_LOC_CONF_OFFSET,
381
+ offsetof(passenger_loc_conf_t, restart_dir),
382
+ NULL
471
383
  },
472
-
473
384
  {
474
-
475
- ngx_string("passenger_app_type"),
476
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
477
- ngx_conf_set_str_slot,
478
- NGX_HTTP_LOC_CONF_OFFSET,
479
- offsetof(passenger_loc_conf_t, app_type),
480
- NULL
385
+ ngx_string("passenger_app_type"),
386
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
387
+ ngx_conf_set_str_slot,
388
+ NGX_HTTP_LOC_CONF_OFFSET,
389
+ offsetof(passenger_loc_conf_t, app_type),
390
+ NULL
481
391
  },
482
-
483
392
  {
484
-
485
- ngx_string("passenger_startup_file"),
486
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
487
- ngx_conf_set_str_slot,
488
- NGX_HTTP_LOC_CONF_OFFSET,
489
- offsetof(passenger_loc_conf_t, startup_file),
490
- NULL
393
+ ngx_string("passenger_startup_file"),
394
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
395
+ ngx_conf_set_str_slot,
396
+ NGX_HTTP_LOC_CONF_OFFSET,
397
+ offsetof(passenger_loc_conf_t, startup_file),
398
+ NULL
491
399
  },
492
-
493
400
  {
494
-
495
- ngx_string("passenger_sticky_sessions"),
496
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
497
- ngx_conf_set_flag_slot,
498
- NGX_HTTP_LOC_CONF_OFFSET,
499
- offsetof(passenger_loc_conf_t, sticky_sessions),
500
- NULL
401
+ ngx_string("passenger_sticky_sessions"),
402
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
403
+ ngx_conf_set_flag_slot,
404
+ NGX_HTTP_LOC_CONF_OFFSET,
405
+ offsetof(passenger_loc_conf_t, sticky_sessions),
406
+ NULL
501
407
  },
502
-
503
408
  {
504
-
505
- ngx_string("passenger_sticky_sessions_cookie_name"),
506
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
507
- ngx_conf_set_str_slot,
508
- NGX_HTTP_LOC_CONF_OFFSET,
509
- offsetof(passenger_loc_conf_t, sticky_sessions_cookie_name),
510
- NULL
409
+ ngx_string("passenger_sticky_sessions_cookie_name"),
410
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
411
+ ngx_conf_set_str_slot,
412
+ NGX_HTTP_LOC_CONF_OFFSET,
413
+ offsetof(passenger_loc_conf_t, sticky_sessions_cookie_name),
414
+ NULL
511
415
  },
512
-
513
416
  {
514
-
515
- ngx_string("passenger_vary_turbocache_by_cookie"),
516
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
517
- ngx_conf_set_str_slot,
518
- NGX_HTTP_LOC_CONF_OFFSET,
519
- offsetof(passenger_loc_conf_t, vary_turbocache_by_cookie),
520
- NULL
417
+ ngx_string("passenger_vary_turbocache_by_cookie"),
418
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
419
+ ngx_conf_set_str_slot,
420
+ NGX_HTTP_LOC_CONF_OFFSET,
421
+ offsetof(passenger_loc_conf_t, vary_turbocache_by_cookie),
422
+ NULL
521
423
  },
522
-
523
424
  {
524
-
525
- ngx_string("passenger_abort_websockets_on_process_shutdown"),
526
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
527
- ngx_conf_set_flag_slot,
528
- NGX_HTTP_LOC_CONF_OFFSET,
529
- offsetof(passenger_loc_conf_t, abort_websockets_on_process_shutdown),
530
- NULL
425
+ ngx_string("passenger_abort_websockets_on_process_shutdown"),
426
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
427
+ ngx_conf_set_flag_slot,
428
+ NGX_HTTP_LOC_CONF_OFFSET,
429
+ offsetof(passenger_loc_conf_t, abort_websockets_on_process_shutdown),
430
+ NULL
531
431
  },
532
-
533
432
  {
534
-
535
- ngx_string("passenger_force_max_concurrent_requests_per_process"),
536
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
537
- ngx_conf_set_num_slot,
538
- NGX_HTTP_LOC_CONF_OFFSET,
539
- offsetof(passenger_loc_conf_t, force_max_concurrent_requests_per_process),
540
- NULL
433
+ ngx_string("passenger_force_max_concurrent_requests_per_process"),
434
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
435
+ ngx_conf_set_num_slot,
436
+ NGX_HTTP_LOC_CONF_OFFSET,
437
+ offsetof(passenger_loc_conf_t, force_max_concurrent_requests_per_process),
438
+ NULL
541
439
  },
542
-
543
440
  {
544
-
545
- ngx_string("passenger_fly_with"),
546
- NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
547
- passenger_enterprise_only,
548
- NGX_HTTP_MAIN_CONF_OFFSET,
549
- 0,
550
- NULL
441
+ ngx_string("passenger_fly_with"),
442
+ NGX_HTTP_MAIN_CONF | NGX_CONF_TAKE1,
443
+ passenger_enterprise_only,
444
+ NGX_HTTP_MAIN_CONF_OFFSET,
445
+ 0,
446
+ NULL
551
447
  },
552
-
553
448
  {
554
-
555
- ngx_string("passenger_max_instances"),
556
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
557
- passenger_enterprise_only,
558
- NGX_HTTP_LOC_CONF_OFFSET,
559
- 0,
560
- NULL
449
+ ngx_string("passenger_max_instances"),
450
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
451
+ passenger_enterprise_only,
452
+ NGX_HTTP_LOC_CONF_OFFSET,
453
+ 0,
454
+ NULL
561
455
  },
562
-
563
456
  {
564
-
565
- ngx_string("passenger_max_request_time"),
566
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
567
- passenger_enterprise_only,
568
- NGX_HTTP_LOC_CONF_OFFSET,
569
- 0,
570
- NULL
457
+ ngx_string("passenger_max_request_time"),
458
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
459
+ passenger_enterprise_only,
460
+ NGX_HTTP_LOC_CONF_OFFSET,
461
+ 0,
462
+ NULL
571
463
  },
572
-
573
464
  {
574
-
575
- ngx_string("passenger_memory_limit"),
576
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
577
- passenger_enterprise_only,
578
- NGX_HTTP_LOC_CONF_OFFSET,
579
- 0,
580
- NULL
465
+ ngx_string("passenger_memory_limit"),
466
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
467
+ passenger_enterprise_only,
468
+ NGX_HTTP_LOC_CONF_OFFSET,
469
+ 0,
470
+ NULL
581
471
  },
582
-
583
472
  {
584
-
585
- ngx_string("passenger_concurrency_model"),
586
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
587
- passenger_enterprise_only,
588
- NGX_HTTP_LOC_CONF_OFFSET,
589
- 0,
590
- NULL
473
+ ngx_string("passenger_concurrency_model"),
474
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
475
+ passenger_enterprise_only,
476
+ NGX_HTTP_LOC_CONF_OFFSET,
477
+ 0,
478
+ NULL
591
479
  },
592
-
593
480
  {
594
-
595
- ngx_string("passenger_thread_count"),
596
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
597
- passenger_enterprise_only,
598
- NGX_HTTP_LOC_CONF_OFFSET,
599
- 0,
600
- NULL
481
+ ngx_string("passenger_thread_count"),
482
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
483
+ passenger_enterprise_only,
484
+ NGX_HTTP_LOC_CONF_OFFSET,
485
+ 0,
486
+ NULL
601
487
  },
602
-
603
488
  {
604
-
605
- ngx_string("passenger_rolling_restarts"),
606
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
607
- passenger_enterprise_only,
608
- NGX_HTTP_LOC_CONF_OFFSET,
609
- 0,
610
- NULL
489
+ ngx_string("passenger_rolling_restarts"),
490
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
491
+ passenger_enterprise_only,
492
+ NGX_HTTP_LOC_CONF_OFFSET,
493
+ 0,
494
+ NULL
611
495
  },
612
-
613
496
  {
614
-
615
- ngx_string("passenger_resist_deployment_errors"),
616
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
617
- passenger_enterprise_only,
618
- NGX_HTTP_LOC_CONF_OFFSET,
619
- 0,
620
- NULL
497
+ ngx_string("passenger_resist_deployment_errors"),
498
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
499
+ passenger_enterprise_only,
500
+ NGX_HTTP_LOC_CONF_OFFSET,
501
+ 0,
502
+ NULL
621
503
  },
622
-
623
504
  {
624
-
625
- ngx_string("rails_spawn_method"),
626
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
627
- ngx_conf_set_str_slot,
628
- NGX_HTTP_LOC_CONF_OFFSET,
629
- offsetof(passenger_loc_conf_t, spawn_method),
630
- NULL
505
+ ngx_string("rails_spawn_method"),
506
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
507
+ ngx_conf_set_str_slot,
508
+ NGX_HTTP_LOC_CONF_OFFSET,
509
+ offsetof(passenger_loc_conf_t, spawn_method),
510
+ NULL
631
511
  },
632
-
633
512
  {
634
-
635
- ngx_string("rails_env"),
636
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
637
- ngx_conf_set_str_slot,
638
- NGX_HTTP_LOC_CONF_OFFSET,
639
- offsetof(passenger_loc_conf_t, environment),
640
- NULL
513
+ ngx_string("rails_env"),
514
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
515
+ ngx_conf_set_str_slot,
516
+ NGX_HTTP_LOC_CONF_OFFSET,
517
+ offsetof(passenger_loc_conf_t, environment),
518
+ NULL
641
519
  },
642
-
643
520
  {
644
-
645
- ngx_string("rack_env"),
646
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
647
- ngx_conf_set_str_slot,
648
- NGX_HTTP_LOC_CONF_OFFSET,
649
- offsetof(passenger_loc_conf_t, environment),
650
- NULL
521
+ ngx_string("rack_env"),
522
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
523
+ ngx_conf_set_str_slot,
524
+ NGX_HTTP_LOC_CONF_OFFSET,
525
+ offsetof(passenger_loc_conf_t, environment),
526
+ NULL
651
527
  },
652
-
653
528
  {
654
-
655
- ngx_string("rails_app_spawner_idle_time"),
656
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
657
- ngx_conf_set_num_slot,
658
- NGX_HTTP_LOC_CONF_OFFSET,
659
- offsetof(passenger_loc_conf_t, max_preloader_idle_time),
660
- NULL
529
+ ngx_string("rails_app_spawner_idle_time"),
530
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
531
+ ngx_conf_set_num_slot,
532
+ NGX_HTTP_LOC_CONF_OFFSET,
533
+ offsetof(passenger_loc_conf_t, max_preloader_idle_time),
534
+ NULL
661
535
  },
662
-
663
536
  {
664
-
665
- ngx_string("rails_framework_spawner_idle_time"),
666
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
667
- rails_framework_spawner_idle_time,
668
- NGX_HTTP_LOC_CONF_OFFSET,
669
- 0,
670
- NULL
537
+ ngx_string("rails_framework_spawner_idle_time"),
538
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_TAKE1,
539
+ rails_framework_spawner_idle_time,
540
+ NGX_HTTP_LOC_CONF_OFFSET,
541
+ 0,
542
+ NULL
671
543
  },
672
-
673
544
  {
674
-
675
- ngx_string("passenger_use_global_queue"),
676
- NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
677
- passenger_use_global_queue,
678
- NGX_HTTP_LOC_CONF_OFFSET,
679
- 0,
680
- NULL
545
+ ngx_string("passenger_use_global_queue"),
546
+ NGX_HTTP_MAIN_CONF | NGX_HTTP_SRV_CONF | NGX_HTTP_LOC_CONF | NGX_HTTP_LIF_CONF | NGX_CONF_FLAG,
547
+ passenger_use_global_queue,
548
+ NGX_HTTP_LOC_CONF_OFFSET,
549
+ 0,
550
+ NULL
681
551
  },
682
-