From 06afc1bd0f22e20bc24d3332384d2d2ee8e75758 Mon Sep 17 00:00:00 2001 From: Michael Ramsey Date: Sun, 2 Feb 2020 23:25:25 -0500 Subject: [PATCH] Setup combined logging for access logs to use better standards. Add missing lsphp74 to scriptHandler. Setup Cloudflare/Sucuri IP's to not be throttled via LS via trusted IP. Fix formatting and omitted lsphp5x handlers on previous commit --- install/litespeed/httpd_config.xml | 87 ++++++++++++++++++++++++++++-- 1 file changed, 84 insertions(+), 3 deletions(-) diff --git a/install/litespeed/httpd_config.xml b/install/litespeed/httpd_config.xml index f17ec8bf6..0a4faa4d3 100755 --- a/install/litespeed/httpd_config.xml +++ b/install/litespeed/httpd_config.xml @@ -1,7 +1,6 @@ $HOSTNAME - 1 nobody nobody 0 @@ -51,10 +50,12 @@ image/*=A604800, text/css=A604800, application/x-javascript=A604800, application/javascript=A604800 + best 10000 10000 300 1000 + 0 5 0 0 @@ -71,9 +72,9 @@ 1 4 1 - text/*,application/x-javascript,application/javascript,application/xml, image/svg+xml 1 1 + text/*,application/x-javascript,application/javascript,application/xml, image/svg+xml 1 6 1M @@ -181,6 +182,86 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+ 2047M 400 500 + + + lsapi + lsphp53 +
uds://tmp/lshttpd/lsphp53.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp53/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500 +
+ + lsapi + lsphp54 +
uds://tmp/lshttpd/lsphp54.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp54/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500 +
+ + lsapi + lsphp55 +
uds://tmp/lshttpd/lsphp55.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp55/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500 +
+ + lsapi + lsphp56 +
uds://tmp/lshttpd/lsphp56.sock
+ 35 + PHP_LSAPI_CHILDREN=35 + 60 + 0 + 1 + 0 + 3 + $SERVER_ROOT/lsphp56/bin/lsphp + 100 + 1 + 0 + 2047M + 2047M + 400 + 500
lsapi @@ -248,7 +329,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
uds://tmp/lshttpd/lsphp73.sock
35 PHP_LSAPI_CHILDREN=35 - 300 + 60 0 1 0