Skip to content

Commit

Permalink
#834 Поправил ошибку, AJAM HTTPS всегда был включен, в не зависимости…
Browse files Browse the repository at this point in the history
… от значения AJAM_ENABLED
  • Loading branch information
boffart committed Nov 5, 2024
1 parent 3d6fb67 commit fedd61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Asterisk/Configs/HttpConf.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function generateConfigProtected(): void
$data = Util::generateSslCert();
$s_data = implode("\n", $data);
}
$conf .= "tlsenable=yes\n" .
$conf .= "tlsenable=$enabled\n" .
"tlsbindaddr=0.0.0.0:{$this->generalSettings[PbxSettings::AJAM_PORT_TLS]}\n" .
"tlscertfile=$keys_dir/ajam.pem\n" .
"tlsprivatekey=$keys_dir/ajam.pem\n";
Expand Down

0 comments on commit fedd61a

Please sign in to comment.