Merge pull request #5606 from ash-vd/fix/mongodb-config-with-ssl
fix(mongodb): Also apply custom config when SSL is enabled
This commit is contained in:
		@@ -217,6 +217,10 @@ class StartMongodb
 | 
			
		||||
        if ($this->database->enable_ssl) {
 | 
			
		||||
            $commandParts = ['mongod'];
 | 
			
		||||
 | 
			
		||||
            if (! empty($this->database->mongo_conf)) {
 | 
			
		||||
                $commandParts = ['mongod', '--config', '/etc/mongo/mongod.conf'];
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            $sslConfig = match ($this->database->ssl_mode) {
 | 
			
		||||
                'allow' => [
 | 
			
		||||
                    '--tlsMode=allowTLS',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user