mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-18 03:01:01 +01:00
feature: redis-mass hosting to take care of www.domain.com'
This commit is contained in:
@@ -374,7 +374,6 @@ pm.max_spare_servers = {pmMaxSpareServers}
|
||||
"gid": {gid},
|
||||
"phpVersion": {php},
|
||||
"custom_conf": {
|
||||
ServerAlias www.{virtualHostName}
|
||||
ServerAdmin {administratorEmail}
|
||||
CustomLog /home/{virtualHostName}/logs/{virtualHostName}.access_log combined
|
||||
<IfModule LiteSpeed>
|
||||
@@ -382,6 +381,21 @@ pm.max_spare_servers = {pmMaxSpareServers}
|
||||
</IfModule>
|
||||
}
|
||||
}'"""
|
||||
lswsRediConfMasterWWW = """"vhost:{virtualHostName}" '{
|
||||
"username": "{externalApp}",
|
||||
"documentRoot": "/home/{master}/public_html",
|
||||
"vh_root": "/home/{master}",
|
||||
"uid": {uid},
|
||||
"gid": {gid},
|
||||
"phpVersion": {php},
|
||||
"custom_conf": {
|
||||
ServerAdmin {administratorEmail}
|
||||
CustomLog /home/{master}/logs/{master}.access_log combined
|
||||
<IfModule LiteSpeed>
|
||||
CacheRoot lscache
|
||||
</IfModule>
|
||||
}
|
||||
}'"""
|
||||
|
||||
lswsRediConfChild = """"vhost:{virtualHostName}" '{
|
||||
"username": "{externalApp}",
|
||||
@@ -391,7 +405,22 @@ pm.max_spare_servers = {pmMaxSpareServers}
|
||||
"gid": {gid},
|
||||
"phpVersion": {php},
|
||||
"custom_conf": {
|
||||
ServerAlias www.{virtualHostName}
|
||||
ServerAdmin {administratorEmail}
|
||||
CustomLog /home/{masterDomain}/logs/{masterDomain}.access_log combined
|
||||
<IfModule LiteSpeed>
|
||||
CacheRoot /home/{masterDomain}/lscache
|
||||
</IfModule>
|
||||
}
|
||||
}'"""
|
||||
|
||||
lswsRediConfChildWWW = """"vhost:{virtualHostName}" '{
|
||||
"username": "{externalApp}",
|
||||
"documentRoot": "{path}",
|
||||
"vh_root": "{path}",
|
||||
"uid": {uid},
|
||||
"gid": {gid},
|
||||
"phpVersion": {php},
|
||||
"custom_conf": {
|
||||
ServerAdmin {administratorEmail}
|
||||
CustomLog /home/{masterDomain}/logs/{masterDomain}.access_log combined
|
||||
<IfModule LiteSpeed>
|
||||
|
||||
Reference in New Issue
Block a user