passenger 5.0.30 → 5.1.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG +30 -1
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +2 -0
- data/bin/passenger-install-nginx-module +18 -13
- data/build/agent.rb +1 -0
- data/build/basics.rb +1 -0
- data/build/cxx_tests.rb +6 -1
- data/build/misc.rb +3 -0
- data/build/packaging.rb +5 -17
- data/build/support/cxx_dependency_map.rb +100 -0
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +4 -1
- data/build/test_basics.rb +12 -2
- data/dev/ci/run_travis.sh +6 -2
- data/doc/Users guide Apache.html +7 -2
- data/doc/Users guide Apache.txt +4 -0
- data/resources/templates/error_layout.css +70 -84
- data/resources/templates/error_layout.html.template +84 -93
- data/resources/templates/standalone/http.erb +17 -13
- data/resources/templates/standalone/server.erb +2 -1
- data/resources/templates/undisclosed_error.html.template +52 -51
- data/resources/update_check_client_cert.p12 +0 -0
- data/resources/update_check_client_cert.pem +89 -0
- data/resources/update_check_server_pubkey.pem +14 -0
- data/src/agent/Core/ApplicationPool/ErrorRenderer.h +15 -1
- data/src/agent/Core/Controller.h +3 -2
- data/src/agent/Core/Controller/CheckoutSession.cpp +5 -4
- data/src/agent/Core/Controller/ForwardResponse.cpp +1 -1
- data/src/agent/Core/Controller/InitRequest.cpp +2 -0
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -0
- data/src/agent/Core/Controller/Request.h +1 -0
- data/src/agent/Core/CoreMain.cpp +99 -2
- data/src/agent/Core/OptionParser.h +18 -1
- data/src/agent/Core/SecurityUpdateChecker.h +559 -0
- data/src/agent/Shared/Base.cpp +6 -1
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +52 -0
- data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -2
- data/src/agent/Watchdog/WatchdogMain.cpp +31 -40
- data/src/apache2_module/Configuration.cpp +12 -0
- data/src/apache2_module/Configuration.hpp +5 -0
- data/src/apache2_module/ConfigurationCommands.cpp +19 -19
- data/src/apache2_module/ConfigurationCommands.cpp.cxxcodebuilder +2 -2
- data/src/apache2_module/ConfigurationFields.hpp +19 -19
- data/src/apache2_module/ConfigurationFields.hpp.cxxcodebuilder +2 -2
- data/src/apache2_module/ConfigurationSetters.cpp +19 -19
- data/src/apache2_module/ConfigurationSetters.cpp.cxxcodebuilder +2 -2
- data/src/apache2_module/CreateDirConfig.cpp +19 -19
- data/src/apache2_module/CreateDirConfig.cpp.cxxcodebuilder +2 -2
- data/src/apache2_module/Hooks.cpp +10 -1
- data/src/apache2_module/MergeDirConfig.cpp +19 -19
- data/src/apache2_module/MergeDirConfig.cpp.cxxcodebuilder +2 -2
- data/src/apache2_module/SetHeaders.cpp +19 -19
- data/src/apache2_module/SetHeaders.cpp.cxxcodebuilder +2 -2
- data/src/cxx_supportlib/Constants.h +22 -22
- data/src/cxx_supportlib/Constants.h.cxxcodebuilder +4 -1
- data/src/cxx_supportlib/Crypto.cpp +977 -0
- data/src/cxx_supportlib/Crypto.h +147 -0
- data/src/cxx_supportlib/InstanceDirectory.h +55 -2
- data/src/cxx_supportlib/Utils/Curl.h +24 -10
- data/src/cxx_supportlib/Utils/JsonUtils.h +1 -1
- data/src/cxx_supportlib/oxt/detail/spin_lock_darwin.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h +167 -92
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json.h +1827 -1542
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +4705 -3652
- data/src/cxx_supportlib/vendor-modified/libev/Changes +46 -15
- data/src/cxx_supportlib/vendor-modified/libev/LICENSE +1 -1
- data/src/cxx_supportlib/vendor-modified/libev/Makefile.in +215 -128
- data/src/cxx_supportlib/vendor-modified/libev/aclocal.m4 +466 -275
- data/src/cxx_supportlib/vendor-modified/libev/config.guess +312 -418
- data/src/cxx_supportlib/vendor-modified/libev/config.sub +246 -105
- data/src/cxx_supportlib/vendor-modified/libev/configure +276 -72
- data/src/cxx_supportlib/vendor-modified/libev/configure.ac +2 -1
- data/src/cxx_supportlib/vendor-modified/libev/depcomp +346 -185
- data/src/cxx_supportlib/vendor-modified/libev/ev++.h +1 -1
- data/src/cxx_supportlib/vendor-modified/libev/ev.c +530 -190
- data/src/cxx_supportlib/vendor-modified/libev/ev.h +23 -14
- data/src/cxx_supportlib/vendor-modified/libev/ev_epoll.c +12 -6
- data/src/cxx_supportlib/vendor-modified/libev/ev_kqueue.c +9 -5
- data/src/cxx_supportlib/vendor-modified/libev/ev_poll.c +6 -3
- data/src/cxx_supportlib/vendor-modified/libev/ev_port.c +8 -4
- data/src/cxx_supportlib/vendor-modified/libev/ev_select.c +4 -2
- data/src/cxx_supportlib/vendor-modified/libev/ev_vars.h +3 -2
- data/src/cxx_supportlib/vendor-modified/libev/ev_win32.c +3 -4
- data/src/cxx_supportlib/vendor-modified/libev/install-sh +433 -219
- data/src/cxx_supportlib/vendor-modified/libev/libev.m4 +6 -6
- data/src/cxx_supportlib/vendor-modified/libev/ltmain.sh +2 -2
- data/src/cxx_supportlib/vendor-modified/libev/missing +167 -288
- data/src/cxx_supportlib/vendor-modified/libev/mkinstalldirs +72 -21
- data/src/cxx_supportlib/vendor-modified/modp_b64.cpp +4 -106
- data/src/cxx_supportlib/vendor-modified/modp_b64_data.h +37 -1
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +119 -0
- data/src/helper-scripts/node-loader.js +72 -1
- data/src/nginx_module/CacheLocationConfig.c +52 -19
- data/src/nginx_module/CacheLocationConfig.c.cxxcodebuilder +2 -2
- data/src/nginx_module/Configuration.c +26 -1
- data/src/nginx_module/Configuration.h +2 -0
- data/src/nginx_module/ConfigurationCommands.c +35 -19
- data/src/nginx_module/ConfigurationCommands.c.cxxcodebuilder +2 -2
- data/src/nginx_module/ContentHandler.c +1 -1
- data/src/nginx_module/CreateLocationConfig.c +22 -19
- data/src/nginx_module/CreateLocationConfig.c.cxxcodebuilder +2 -2
- data/src/nginx_module/LocationConfig.h +21 -19
- data/src/nginx_module/LocationConfig.h.cxxcodebuilder +2 -2
- data/src/nginx_module/MergeLocationConfig.c +25 -19
- data/src/nginx_module/MergeLocationConfig.c.cxxcodebuilder +2 -2
- data/src/nginx_module/ngx_http_passenger_module.c +8 -4
- data/src/ruby_supportlib/phusion_passenger.rb +9 -4
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +13 -0
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +5 -2
- data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +15 -3
- data/src/ruby_supportlib/phusion_passenger/platform_info/crypto.rb +51 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/apache2.rb +7 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +17 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +4 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +4 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +19 -10
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/base.rb +25 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +38 -103
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +178 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/utils.rb +94 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/version.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version_data.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis +5 -3
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis-with-sudo +9 -7
- metadata +14 -4
data/dev/ci/run_travis.sh
CHANGED
@@ -155,12 +155,16 @@ run cp test/config.json.travis test/config.json
|
|
155
155
|
run chmod g+x,o+x $HOME
|
156
156
|
|
157
157
|
if [[ "$TEST_RUBY_VERSION" != "" ]]; then
|
158
|
-
echo "$ rvm use $TEST_RUBY_VERSION"
|
159
158
|
if [[ -f ~/.rvm/scripts/rvm ]]; then
|
160
159
|
source ~/.rvm/scripts/rvm
|
161
160
|
else
|
162
161
|
source /usr/local/rvm/scripts/rvm
|
163
162
|
fi
|
163
|
+
echo "$ rvm list"
|
164
|
+
rvm list
|
165
|
+
echo "$ rvm install $TEST_RUBY_VERSION"
|
166
|
+
rvm install $TEST_RUBY_VERSION
|
167
|
+
echo "$ rvm use $TEST_RUBY_VERSION"
|
164
168
|
rvm use $TEST_RUBY_VERSION
|
165
169
|
if [[ "$TEST_RUBYGEMS_VERSION" = "" ]]; then
|
166
170
|
run gem --version
|
@@ -244,5 +248,5 @@ if [[ "$TEST_SOURCE_PACKAGING" = 1 ]]; then
|
|
244
248
|
apt_get_update
|
245
249
|
run sudo apt-get install -y --no-install-recommends source-highlight
|
246
250
|
install_test_deps_with_doctools
|
247
|
-
run bundle exec rspec -f s -c test/integration_tests/source_packaging_test.rb
|
251
|
+
run bundle _1.11.2_ exec rspec -f s -c test/integration_tests/source_packaging_test.rb
|
248
252
|
fi
|
data/doc/Users guide Apache.html
CHANGED
@@ -1156,7 +1156,8 @@ pre {
|
|
1156
1156
|
<div class="foo toclevel4"><a href="#PassengerGroup">7.5.3. PassengerGroup <group name></a></div>
|
1157
1157
|
<div class="foo toclevel4"><a href="#PassengerDefaultUser">7.5.4. PassengerDefaultUser <username></a></div>
|
1158
1158
|
<div class="foo toclevel4"><a href="#PassengerDefaultGroup">7.5.5. PassengerDefaultGroup <group name></a></div>
|
1159
|
-
<div class="foo toclevel4"><a href="#
|
1159
|
+
<div class="foo toclevel4"><a href="#_passengershowversioninheader_lt_on_off_gt">7.5.6. PassengerShowVersionInHeader <on|off></a></div>
|
1160
|
+
<div class="foo toclevel4"><a href="#PassengerFriendlyErrorPages">7.5.7. PassengerFriendlyErrorPages <on|off></a></div>
|
1160
1161
|
<div class="foo toclevel3"><a href="#_resource_control_and_optimization_options">7.6. Resource control and optimization options</a></div>
|
1161
1162
|
<div class="foo toclevel4"><a href="#PassengerMaxPoolSize">7.6.1. PassengerMaxPoolSize <integer></a></div>
|
1162
1163
|
<div class="foo toclevel4"><a href="#PassengerMinInstances">7.6.2. PassengerMinInstances <integer></a></div>
|
@@ -1640,7 +1641,11 @@ Report security vulnerabilities to <a href="mailto:security@phusion.nl">security
|
|
1640
1641
|
<div class="paragraph"><p>This documentation has moved. Please visit <a href="https://www.phusionpassenger.com/library/config/apache/reference/#passengerdefaultgroup">https://www.phusionpassenger.com/library/config/apache/reference/#passengerdefaultgroup</a></p></div>
|
1641
1642
|
</div>
|
1642
1643
|
<div class="sect3">
|
1643
|
-
<a href="javascript:void(0)" class="comments empty" title="Add a comment"><span class="count"></span></a><span class="anchor_helper" id="
|
1644
|
+
<a href="javascript:void(0)" class="comments empty" title="Add a comment"><span class="count"></span></a><span class="anchor_helper" id="_passengershowversioninheader_lt_on_off_gt"></span><h4 data-comment-topic="passengershowversioninheader-on-off--d8rvr0" data-anchor="_passengershowversioninheader_lt_on_off_gt">7.5.6. PassengerShowVersionInHeader <on|off></h4>
|
1645
|
+
<div class="paragraph"><p>This documentation has moved. Please visit <a href="https://www.phusionpassenger.com/library/config/apache/reference/#passengershowversioninheader">https://www.phusionpassenger.com/library/config/apache/reference/#passengershowversioninheader</a></p></div>
|
1646
|
+
</div>
|
1647
|
+
<div class="sect3">
|
1648
|
+
<a href="javascript:void(0)" class="comments empty" title="Add a comment"><span class="count"></span></a><span class="anchor_helper" id="PassengerFriendlyErrorPages"></span><h4 data-comment-topic="passengerfriendlyerrorpages" data-anchor="PassengerFriendlyErrorPages">7.5.7. PassengerFriendlyErrorPages <on|off></h4>
|
1644
1649
|
<div class="paragraph"><p>This documentation has moved. Please visit <a href="https://www.phusionpassenger.com/library/config/apache/reference/#passengerfriendlyerrorpages">https://www.phusionpassenger.com/library/config/apache/reference/#passengerfriendlyerrorpages</a></p></div>
|
1645
1650
|
</div>
|
1646
1651
|
</div>
|
data/doc/Users guide Apache.txt
CHANGED
@@ -208,6 +208,10 @@ This documentation has moved. Please visit https://www.phusionpassenger.com/libr
|
|
208
208
|
|
209
209
|
This documentation has moved. Please visit https://www.phusionpassenger.com/library/config/apache/reference/#passengerdefaultgroup
|
210
210
|
|
211
|
+
==== PassengerShowVersionInHeader <on|off> ====
|
212
|
+
|
213
|
+
This documentation has moved. Please visit https://www.phusionpassenger.com/library/config/apache/reference/#passengershowversioninheader
|
214
|
+
|
211
215
|
[[PassengerFriendlyErrorPages]]
|
212
216
|
==== PassengerFriendlyErrorPages <on|off> ====
|
213
217
|
|
@@ -1,103 +1,89 @@
|
|
1
1
|
body {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
font-family: Arial, Sans-Serif;
|
3
|
+
font-size: 13px;
|
4
|
+
color: #222222;
|
5
|
+
margin: 0;
|
6
|
+
}
|
7
|
+
.column {
|
8
|
+
width: 1000px;
|
9
|
+
margin-left: auto;
|
10
|
+
margin-right: auto;
|
11
|
+
text-align: center;
|
12
|
+
}
|
13
|
+
header {
|
14
|
+
margin-top: 50px;
|
15
|
+
border-bottom: 1px solid #E3E3E3;
|
16
|
+
margin-bottom: 45px;
|
17
|
+
}
|
18
|
+
footer {
|
19
|
+
font-size: 14px;
|
20
|
+
color: #7F7F7F;
|
21
|
+
border-top: 1px solid #E3E3E3;
|
22
|
+
margin-top: 50px;
|
23
|
+
padding: 40px 0px;
|
11
24
|
}
|
12
|
-
|
13
25
|
h1 {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
border-bottom: 1px solid #533e72;
|
26
|
+
font-size: 30px;
|
27
|
+
margin-top: 30px;
|
28
|
+
margin-bottom: 10px;
|
18
29
|
}
|
19
|
-
|
20
|
-
|
21
|
-
|
30
|
+
.subtitle {
|
31
|
+
margin-top: 0px;
|
32
|
+
margin-bottom: 110px;
|
33
|
+
font-size: 20px;
|
22
34
|
}
|
23
|
-
|
24
|
-
|
25
|
-
color: red;
|
26
|
-
border-bottom: 1px solid red;
|
35
|
+
#operator_info {
|
36
|
+
display: none;
|
27
37
|
}
|
28
|
-
|
29
|
-
|
30
|
-
|
38
|
+
#show_operator_info {
|
39
|
+
font-size: 17px;
|
40
|
+
font-weight: normal;
|
31
41
|
}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
}
|
36
|
-
|
37
|
-
dt {
|
38
|
-
font-weight: bold;
|
39
|
-
color: #280050;
|
40
|
-
}
|
41
|
-
|
42
|
-
dd {
|
43
|
-
margin-top: 0.5em;
|
44
|
-
margin-bottom: 1em;
|
45
|
-
}
|
46
|
-
|
47
|
-
.commands {
|
48
|
-
border: 1px solid #b594e7;
|
49
|
-
background: #ddc6ff;
|
50
|
-
padding: 0.5em;
|
51
|
-
margin: 0.5em;
|
52
|
-
font-family: 'Bitstream Vera Sans Mono', 'Courier New', Monospace;
|
42
|
+
.left {
|
43
|
+
text-align: left;
|
44
|
+
padding: 8px;
|
53
45
|
}
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
text-align: left;
|
46
|
+
h3 {
|
47
|
+
margin-top: 30px;
|
48
|
+
margin-bottom: 10px;
|
49
|
+
font-size: 23px;
|
59
50
|
}
|
60
|
-
|
61
|
-
|
62
|
-
background: #8470a6;
|
63
|
-
color: white;
|
51
|
+
ul {
|
52
|
+
padding-left: 16px;
|
64
53
|
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
padding-left: 0.4em;
|
70
|
-
padding-right: 0.4em;
|
54
|
+
a, li {
|
55
|
+
font-weight: bold;
|
56
|
+
color: #1781BF;
|
57
|
+
text-decoration: none;
|
71
58
|
}
|
72
|
-
|
73
|
-
|
74
|
-
|
59
|
+
.error {
|
60
|
+
font-weight: bold;
|
61
|
+
background: #E6F3FC;
|
62
|
+
border-radius: 5px;
|
63
|
+
padding: 7px 12px;
|
75
64
|
}
|
76
|
-
|
77
|
-
|
78
|
-
background: #f7f2ff;
|
65
|
+
.bold {
|
66
|
+
font-weight: bold !important;
|
79
67
|
}
|
80
|
-
|
81
|
-
|
82
|
-
|
68
|
+
pre {
|
69
|
+
margin: 0px;
|
70
|
+
overflow-x: auto;
|
71
|
+
white-space: pre-wrap;
|
72
|
+
word-break: break-all;
|
83
73
|
}
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
margin-top: 1em;
|
88
|
-
padding-top: 1em;
|
89
|
-
font-size: small;
|
90
|
-
color: #777777;
|
74
|
+
dt {
|
75
|
+
margin-top: 16px;
|
76
|
+
font-weight: bold;
|
91
77
|
}
|
92
|
-
|
93
|
-
|
94
|
-
color: #65498e;
|
78
|
+
dd {
|
79
|
+
margin-left: 0px;
|
95
80
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
81
|
+
.plain {
|
82
|
+
color: inherit;
|
83
|
+
font-weight: inherit;
|
99
84
|
}
|
100
85
|
|
101
|
-
#
|
102
|
-
|
86
|
+
#content {
|
87
|
+
overflow-y: scroll;
|
88
|
+
height: 800px;
|
103
89
|
}
|
@@ -1,95 +1,86 @@
|
|
1
|
-
<!DOCTYPE
|
1
|
+
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
-
<head>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<div class="container">
|
87
|
-
Powered by <a href="https://www.phusionpassenger.com/">Phusion Passenger</a>,
|
88
|
-
<tt>mod_rails</tt> / <tt>mod_rack</tt> for Apache and Nginx.
|
89
|
-
</div>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
</body>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong: {{TITLE}}</title>
|
5
|
+
<style type="text/css">
|
6
|
+
{{CSS|raw}}
|
7
|
+
</style>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
9
|
+
<meta name="generator" content="Phusion Passenger">
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<header>
|
13
|
+
<div class="column">
|
14
|
+
<svg width="50" height="50" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path d="m731.234002 153.838666v-18.841339c0-4.417534-3.577416-7.997327-7.990382-7.997327h-6.414571c-4.417012 0-7.990383 3.580525-7.990383 7.997327v18.841339h-18.841339c-4.417534 0-7.997327 3.577416-7.997327 7.990383v6.414571c0 4.417011 3.580525 7.990382 7.997327 7.990382h18.841339v18.841339c0 4.417534 3.577416 7.997328 7.990383 7.997328h6.414571c4.417011 0 7.990382-3.580526 7.990382-7.997328v-18.841339h18.841339c4.417534 0 7.997328-3.577416 7.997328-7.990382v-6.414571c0-4.417012-3.580526-7.990383-7.997328-7.990383z" fill="#f87575" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -593.80455139 424.48059756)"/></svg>
|
15
|
+
<h1>We're sorry, but something went wrong.</h1>
|
16
|
+
<p class="subtitle">The issue has been logged for investigation. Please try again later.</p>
|
17
|
+
</div>
|
18
|
+
</header>
|
19
|
+
<div class="column">
|
20
|
+
<a id="show_operator_info" href="#">Technical details for the administrator of this website</a>
|
21
|
+
<div id="operator_info" style="display:block">
|
22
|
+
<div class="left">
|
23
|
+
<h3>Error:</h3>
|
24
|
+
<span class="error">{{TITLE}}</span>
|
25
|
+
<h3>Error ID:</h3>
|
26
|
+
<span class="error">{{ERROR_ID}}</span>
|
27
|
+
<h3>Details:</h3>
|
28
|
+
{{CONTENT|raw}}
|
29
|
+
<h3>System information:</h3>
|
30
|
+
<div id="content">
|
31
|
+
<dl>
|
32
|
+
<dt>Application root</dt>
|
33
|
+
<dd>{{APP_ROOT}}</dd>
|
34
|
+
<dt>Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and PASSENGER_APP_ENV)</dt>
|
35
|
+
<dd>{{ENVIRONMENT}}</dd>
|
36
|
+
{{if IS_RUBY_APP}}
|
37
|
+
<dt>Ruby interpreter command</dt>
|
38
|
+
<dd><pre>{{RUBY}}</pre></dd>
|
39
|
+
{{/if}}
|
40
|
+
<dt>User and groups</dt>
|
41
|
+
<dd><pre>{{USER_INFO|default=Unknown}}</pre></dd>
|
42
|
+
<dt>Environment variables</dt>
|
43
|
+
<dd><pre>{{ENVVARS|default=Unknown}}</pre></dd>
|
44
|
+
<dt>Ulimits</dt>
|
45
|
+
<dd><pre>{{ULIMIT|default=Unknown}}</pre></dd>
|
46
|
+
{{if SYSTEM_METRICS}}
|
47
|
+
<dt>System metrics</dt>
|
48
|
+
<dd><pre>{{SYSTEM_METRICS|default=Unknown}}</pre></dd>
|
49
|
+
{{/if}}
|
50
|
+
{{if RUBY_INFO}}
|
51
|
+
<dt>General Ruby interpreter information</dt>
|
52
|
+
<dd><pre>{{RUBY_INFO}}</pre></dd>
|
53
|
+
{{/if}}
|
54
|
+
{{if RBCONFIG}}
|
55
|
+
<dt>Ruby configuration (RbConfig::CONFIG)</dt>
|
56
|
+
<dd><pre>{{RBCONFIG}}</pre></dd>
|
57
|
+
{{/if}}
|
58
|
+
{{if ACTIVATED_GEMS}}
|
59
|
+
<dt>Activated Ruby gems</dt>
|
60
|
+
<dd><pre>{{ACTIVATED_GEMS}}</pre></dd>
|
61
|
+
{{/if}}
|
62
|
+
{{if LOAD_PATH}}
|
63
|
+
<dt>Ruby load path ($LOAD_PATH)</dt>
|
64
|
+
<dd><pre>{{LOAD_PATH}}</pre></dd>
|
65
|
+
{{/if}}
|
66
|
+
{{if LOADED_LIBS}}
|
67
|
+
<dt>Ruby loaded libraries ($LOADED_FEATURES)</dt>
|
68
|
+
<dd><pre>{{LOADED_LIBS}}</pre></dd>
|
69
|
+
{{/if}}
|
70
|
+
</dl>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<footer>
|
76
|
+
<!--
|
77
|
+
You are free to modify the footer as you see fit,
|
78
|
+
but we kindly ask of you to preserve the following
|
79
|
+
text. Thank you.
|
80
|
+
-->
|
81
|
+
<div class="column">
|
82
|
+
This website is powered by <b>Passenger</b>®, a rock-solid, feature-rich web application server that integrates with Apache and Nginx.
|
83
|
+
</div>
|
84
|
+
</footer>
|
85
|
+
</body>
|
94
86
|
</html>
|
95
|
-
|
@@ -8,19 +8,21 @@ passenger_ctl integration_mode standalone;
|
|
8
8
|
passenger_ctl standalone_engine nginx;
|
9
9
|
passenger_user_switching off;
|
10
10
|
|
11
|
-
<% if
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
<%
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
11
|
+
<% if Process.euid == 0 %>
|
12
|
+
<% if @options[:ruby] %>
|
13
|
+
passenger_ruby <%= @options[:ruby] %>;
|
14
|
+
<% else %>
|
15
|
+
passenger_ruby <%= PlatformInfo.ruby_command %>;
|
16
|
+
<% end %>
|
17
|
+
<% if @options[:user] %>
|
18
|
+
passenger_user <%= @options[:user] %>;
|
19
|
+
passenger_default_user <%= @options[:user] %>;
|
20
|
+
passenger_analytics_log_user <%= @options[:user] %>;
|
21
|
+
<% else %>
|
22
|
+
passenger_user <%= current_user %>;
|
23
|
+
passenger_default_user <%= current_user %>;
|
24
|
+
passenger_analytics_log_user <%= current_user %>;
|
25
|
+
<% end %>
|
24
26
|
<% end %>
|
25
27
|
|
26
28
|
<%= nginx_http_option(:socket_backlog) %>
|
@@ -32,6 +34,8 @@ passenger_user_switching off;
|
|
32
34
|
<%= nginx_http_option(:max_preloader_idle_time) %>
|
33
35
|
<%= nginx_http_option(:turbocaching) %>
|
34
36
|
<%= nginx_http_option(:instance_registry_dir) %>
|
37
|
+
<%= nginx_http_option(:disable_security_update_check) %>
|
38
|
+
<%= nginx_http_option(:security_update_check_proxy) %>
|
35
39
|
<%= nginx_http_option(:data_buffer_dir) %>
|
36
40
|
<%= nginx_http_option(:core_file_descriptor_ulimit) %>
|
37
41
|
<%= nginx_http_option(:union_station_gateway_address) %>
|