mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-02 04:39:07 +01:00
@@ -36,7 +36,7 @@ DirectoryIndex index.php index.html
|
||||
ErrorLog "/usr/local/lsws/logs/error.log"
|
||||
LogLevel warn
|
||||
|
||||
LogFormat '"%v %h %l %u %t \"%r\" %>s %b"' combined
|
||||
LogFormat '%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"' combined
|
||||
CustomLog "/usr/local/lsws/logs/access.log" combined
|
||||
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<phpSuExecMaxConn>5</phpSuExecMaxConn>
|
||||
<mime>$SERVER_ROOT/conf/mime.properties</mime>
|
||||
<showVersionNumber>0</showVersionNumber>
|
||||
<useIpInProxyHeader>0</useIpInProxyHeader>
|
||||
<autoUpdateInterval>86400</autoUpdateInterval>
|
||||
<autoUpdateDownloadPkg>1</autoUpdateDownloadPkg>
|
||||
<adminEmails>usman@cyberpersons.com</adminEmails>
|
||||
@@ -33,9 +34,10 @@
|
||||
</log>
|
||||
<accessLog>
|
||||
<fileName>$SERVER_ROOT/logs/access.log</fileName>
|
||||
<logFormat>%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"</logFormat>
|
||||
<rollingSize>10M</rollingSize>
|
||||
<keepDays>30</keepDays>
|
||||
<compressArchive>0</compressArchive>
|
||||
<compressArchive>1</compressArchive>
|
||||
</accessLog>
|
||||
</logging>
|
||||
<indexFiles>index.html, index.php</indexFiles>
|
||||
@@ -157,7 +159,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<dir>$SERVER_ROOT/admin/conf/*</dir>
|
||||
</accessDenyDir>
|
||||
<accessControl>
|
||||
<allow>ALL</allow>
|
||||
<allow>ALL, localhostT, 127.0.0.1T, 103.21.244.0/22T, 103.22.200.0/22T, 103.31.4.0/22T, 104.16.0.0/12T, 108.162.192.0/18T, 131.0.72.0/22T, 141.101.64.0/18T, 162.158.0.0/15T, 172.64.0.0/13T, 173.245.48.0/20T, 188.114.96.0/20T, 190.93.240.0/20T, 197.234.240.0/22T, 198.41.128.0/17T, 2400:cb00::/32T, 2405:8100::/32T, 2405:b500::/32T, 2606:4700::/32T, 2803:f800::/32T, 2a06:98c0::/29T, 2c0f:f248::/32T, 192.88.134.0/23T, 185.93.228.0/22, 66.248.200.0/22T, 208.109.0.0/22T, 2a02:fe80::/29T</allow>
|
||||
</accessControl>
|
||||
</security>
|
||||
<extProcessorList>
|
||||
@@ -181,7 +183,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp53</name>
|
||||
<address>uds://tmp/lshttpd/lsphp53.sock</address>
|
||||
@@ -220,7 +222,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp55</name>
|
||||
@@ -240,7 +242,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp56</name>
|
||||
@@ -260,7 +262,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<memHardLimit>2047M</memHardLimit>
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp70</name>
|
||||
@@ -281,7 +283,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp71</name>
|
||||
<address>uds://tmp/lshttpd/lsphp71.sock</address>
|
||||
@@ -301,7 +303,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp72</name>
|
||||
<address>uds://tmp/lshttpd/lsphp72.sock</address>
|
||||
@@ -321,7 +323,7 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</extProcessor>
|
||||
<extProcessor>
|
||||
<extProcessor>
|
||||
<type>lsapi</type>
|
||||
<name>lsphp73</name>
|
||||
<address>uds://tmp/lshttpd/lsphp73.sock</address>
|
||||
@@ -373,47 +375,54 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp5</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php53</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp53</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php54</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp54</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php55</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp55</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php56</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp56</handler>
|
||||
</scriptHandler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php70</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp70</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php71</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp71</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php72</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp72</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php73</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp73</handler>
|
||||
</scriptHandler>
|
||||
<scriptHandler>
|
||||
<suffix>php74</suffix>
|
||||
<type>lsapi</type>
|
||||
<handler>lsphp74</handler>
|
||||
</scriptHandler>
|
||||
</scriptHandlerList>
|
||||
<phpConfig>
|
||||
</phpConfig>
|
||||
<railsDefaults>
|
||||
<railsEnv>1</railsEnv>
|
||||
<maxConns>5</maxConns>
|
||||
@@ -430,4 +439,4 @@ SecFilterSelective ARGS "into[[:space:]]+outfile|load[[:space:]]+data|/\*.+
|
||||
<procSoftLimit>400</procSoftLimit>
|
||||
<procHardLimit>500</procHardLimit>
|
||||
</railsDefaults>
|
||||
</httpServerConfig>
|
||||
</httpServerConfig>
|
||||
@@ -29,7 +29,7 @@ errorlog $VH_ROOT/logs/$VH_NAME.error_log {
|
||||
|
||||
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
|
||||
useServer 0
|
||||
logFormat "%v %h %l %u %t "%r" %>s %b"
|
||||
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
|
||||
logHeaders 5
|
||||
rollingSize 10M
|
||||
keepDays 10 compressArchive 1
|
||||
@@ -98,7 +98,7 @@ errorlog $VH_ROOT/logs/{masterDomain}.error_log {
|
||||
|
||||
accesslog $VH_ROOT/logs/{masterDomain}.access_log {
|
||||
useServer 0
|
||||
logFormat "%v %h %l %u %t "%r" %>s %b"
|
||||
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
|
||||
logHeaders 5
|
||||
rollingSize 10M
|
||||
keepDays 10 compressArchive 1
|
||||
@@ -320,7 +320,7 @@ errorlog $VH_ROOT/logs/$VH_NAME.error_log {
|
||||
|
||||
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
|
||||
useServer 0
|
||||
logFormat "%v %h %l %u %t "%r" %>s %b"
|
||||
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
|
||||
logHeaders 5
|
||||
rollingSize 10M
|
||||
keepDays 10 compressArchive 1
|
||||
|
||||
Reference in New Issue
Block a user