mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
bug fix: apache vhost config
This commit is contained in:
@@ -546,6 +546,8 @@ class ApacheVhost:
|
||||
|
||||
finalConfPath = ApacheVhost.DecidePHPPath(php, virtualHostName)
|
||||
|
||||
logging.writeToFile(f'apache php final path: {finalConfPath}')
|
||||
|
||||
confFile = open(finalConfPath, "w+")
|
||||
currentConf = vhostConfs.phpFpmPool
|
||||
currentConf = currentConf.replace('{www}', externalApp)
|
||||
|
||||
@@ -3214,7 +3214,7 @@ pm.max_spare_servers = 3
|
||||
[php74default]
|
||||
user = www-data
|
||||
group = www-data
|
||||
listen ={sockPath}php7.3-fpm.sock
|
||||
listen ={sockPath}php7.4-fpm.sock
|
||||
listen.owner = www-data
|
||||
listen.group = www-data
|
||||
pm = dynamic
|
||||
|
||||
Reference in New Issue
Block a user