mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
bug fix: compressArchive
This commit is contained in:
@@ -325,7 +325,8 @@ accesslog $VH_ROOT/logs/$VH_NAME.access_log {
|
|||||||
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
|
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
|
||||||
logHeaders 5
|
logHeaders 5
|
||||||
rollingSize 10M
|
rollingSize 10M
|
||||||
keepDays 10 compressArchive 1
|
keepDays 10
|
||||||
|
compressArchive 1
|
||||||
}
|
}
|
||||||
|
|
||||||
rewrite {
|
rewrite {
|
||||||
|
|||||||
@@ -250,13 +250,6 @@ class virtualHostUtilities:
|
|||||||
if dkimCheck == 1:
|
if dkimCheck == 1:
|
||||||
DNS.createDKIMRecords(virtualHostName)
|
DNS.createDKIMRecords(virtualHostName)
|
||||||
|
|
||||||
# cageFSPath = '/home/cyberpanel/cagefs'
|
|
||||||
#
|
|
||||||
# if os.path.exists(cageFSPath):
|
|
||||||
# command = '/usr/sbin/cagefsctl --enable %s' % (virtualHostUser)
|
|
||||||
# ProcessUtilities.normalExecutioner(command)
|
|
||||||
|
|
||||||
|
|
||||||
CLPath = '/etc/sysconfig/cloudlinux'
|
CLPath = '/etc/sysconfig/cloudlinux'
|
||||||
|
|
||||||
if os.path.exists(CLPath):
|
if os.path.exists(CLPath):
|
||||||
|
|||||||
Reference in New Issue
Block a user