mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
Fix Mux as env variable.
This commit is contained in:
1 parent
117ba360ac
commit
982f5beaf5
4 files changed
+6
-3
No files matched your search
@@ -87,7 +87,7 @@ if (!function_exists('generateSshCommand')) {
|
||||
$delimiter = 'EOF-COOLIFY-SSH';
|
||||
Storage::disk('local')->makeDirectory('.ssh');
|
||||
$ssh_command = "ssh ";
|
||||
if ($isMux) {
|
||||
if ($isMux && config('coolify.mux_enabled')) {
|
||||
$ssh_command .= '-o ControlMaster=auto -o ControlPersist=1m -o ControlPath=/var/www/html/storage/app/.ssh/ssh_mux_%h_%p_%r ';
|
||||
}
|
||||
$ssh_command .= "-i {$private_key_location} "
|
||||
|
||||
Reference in new issue
Block a user