few update

This commit is contained in:
Cold-Egg
2019-12-20 12:27:57 -05:00
parent ec697780b5
commit 3708fd9e55
9 changed files with 431 additions and 1007 deletions
@@ -2,7 +2,7 @@
# PLAIN TEXT CONFIGURATION FILE
#
#It not set, will use host name as serverName
serverName
serverName
user nobody
group nogroup
priority 0
@@ -12,6 +12,7 @@ autoFix503 1
gracefulRestartTimeout 300
mime conf/mime.properties
showVersionNumber 0
adminEmails root@localhost
errorlog logs/error.log {
logLevel DEBUG
@@ -34,19 +35,17 @@ expires {
autoLoadHtaccess 1
tuning {
eventDispatcher best
maxConnections 10000
maxSSLConnections 10000
connTimeout 300
maxKeepAliveReq 10000
smartKeepAlive 0
keepAliveTimeout 5
sndBufSize 0
rcvBufSize 0
maxReqURLLen 8192
maxReqHeaderSize 16380
maxReqURLLen 32768
maxReqHeaderSize 65536
maxReqBodySize 2047M
maxDynRespHeaderSize 8192
maxDynRespHeaderSize 32768
maxDynRespSize 2047M
maxCachedFileSize 4096
totalInMemCacheSize 20M
@@ -55,15 +54,14 @@ tuning {
useSendfile 1
fileETag 28
enableGzipCompress 1
compressibleTypes text/*, application/x-javascript, application/xml, application/javascript, image/svg+xml,application/rss+xml
enableDynGzipCompress 1
gzipCompressLevel 6
compressibleTypes text/*, application/x-javascript, application/xml, application/javascript, image/svg+xml,application/rss+xml
gzipAutoUpdateStatic 1
gzipStaticCompressLevel 6
brStaticCompressLevel 6
gzipMaxFileSize 10M
gzipMinFileSize 300
enableBrCompress 1
SSLCryptoDevice null
}
fileAccessControl {
@@ -119,8 +117,8 @@ extprocessor lsphp {
retryTimeout 0
persistConn 1
respBuffer 0
autoStart 1
path lsphp73/bin/lsphp
autoStart 2
path fcgi-bin/lsphp
backlog 100
instances 1
priority 0
@@ -135,14 +133,14 @@ scripthandler {
}
railsDefaults {
maxConns 5
maxConns 1
env LSAPI_MAX_IDLE=60
initTimeout 60
retryTimeout 0
pcKeepAliveTimeout 60
respBuffer 0
backlog 50
runOnStartUp 1
runOnStartUp 3
extMaxIdleTime 300
priority 3
memSoftLimit 2047M
@@ -159,7 +157,7 @@ wsgiDefaults {
pcKeepAliveTimeout 60
respBuffer 0
backlog 50
runOnStartUp 1
runOnStartUp 3
extMaxIdleTime 300
priority 3
memSoftLimit 2047M
@@ -176,7 +174,7 @@ nodeDefaults {
pcKeepAliveTimeout 60
respBuffer 0
backlog 50
runOnStartUp 1
runOnStartUp 3
extMaxIdleTime 300
priority 3
memSoftLimit 2047M
@@ -201,21 +199,19 @@ enableCache 0
expireInSeconds 3600
enablePrivateCache 0
privateExpireInSeconds 3600
ls_enabled 1
}
virtualhost Example {
vhRoot /var/www/vhosts/localhost/
vhRoot Example/
configFile conf/vhosts/Example/vhconf.conf
allowSymbolLink 1
enableScript 1
restrained 1
setUIDMode 2
setUIDMode 0
}
listener Default {
listener HTTP {
address *:80
secure 0
map Example *
@@ -231,16 +227,10 @@ listener HTTPS {
vhTemplate centralConfigLog {
templateFile conf/templates/ccl.conf
listeners Default
}
vhTemplate PHP_SuEXEC {
templateFile conf/templates/phpsuexec.conf
listeners Default
listeners HTTP
}
vhTemplate EasyRailsWithSuEXEC {
templateFile conf/templates/rails.conf
listeners Default
listeners HTTP
}