diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 2c52ff5bf..d8a439806 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1959,6 +1959,16 @@ failovermethod=priority command = "pip3 install --ignore-installed -r %s" % ('/usr/local/CyberCP/WebTerminal/requirments.txt') Upgrade.executioner(command, 0) + @staticmethod + def UpdateMaxSSLCons(): + command = "sed -i 's|2000|10000|g' /usr/local/lsws/conf/httpd_config.xml" + Upgrade.executioner(command, 0) + + command = "sed -i 's|200|10000|g' /usr/local/lsws/conf/httpd_config.xml" + Upgrade.executioner(command, 0) + + + @staticmethod def upgrade(): @@ -2047,6 +2057,7 @@ failovermethod=priority ## Upgrade version Upgrade.fixPermissions() Upgrade.upgradeVersion() + Upgrade.UpdateMaxSSLCons() try: command = "systemctl start lscpd"