change: applied a patch to the nginx core to turn nginx to openresty in the builtin special response pages' footer.
Thanks Datong Sun for the patch.
This commit is contained in:
parent
ce30f58339
commit
add30287e1
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
|
||||||
|
index 64e5acd..f5374f6 100644
|
||||||
|
--- a/src/http/ngx_http_special_response.c
|
||||||
|
+++ b/src/http/ngx_http_special_response.c
|
||||||
|
@@ -26,7 +26,7 @@ static u_char ngx_http_error_full_tail[] =
|
||||||
|
|
||||||
|
|
||||||
|
static u_char ngx_http_error_tail[] =
|
||||||
|
-"<hr><center>nginx</center>" CRLF
|
||||||
|
+"<hr><center>openresty</center>" CRLF
|
||||||
|
"</body>" CRLF
|
||||||
|
"</html>" CRLF
|
||||||
|
;
|
|
@ -55,6 +55,13 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
||||||
|
if [ "$answer" = "Y" ]; then
|
||||||
|
echo "$info_txt applying the builtin_error_page_footer patch"
|
||||||
|
patch -p1 < $root/patches/nginx-$main_ver-builtin_error_page_footer.patch || exit 1
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
|
||||||
if [ "$answer" = "Y" ]; then
|
if [ "$answer" = "Y" ]; then
|
||||||
echo "$info_txt applying the delayed-posted-events patch"
|
echo "$info_txt applying the delayed-posted-events patch"
|
||||||
|
|
Loading…
Reference in New Issue