fix: instance fqdn setting
This commit is contained in:
parent
84e5b39830
commit
e22c5d22f5
@ -73,7 +73,7 @@ private function setup_instance_fqdn()
|
||||
{
|
||||
$file = "$this->dynamic_config_path/coolify.yaml";
|
||||
if (empty($this->settings->fqdn)) {
|
||||
remote_process([
|
||||
instant_remote_process([
|
||||
"rm -f $file",
|
||||
], $this->server);
|
||||
} else {
|
||||
@ -129,7 +129,6 @@ private function setup_instance_fqdn()
|
||||
];
|
||||
}
|
||||
$this->save_configuration_to_disk($traefik_dynamic_conf, $file);
|
||||
dispatch(new ContainerStatusJob($this->server));
|
||||
}
|
||||
}
|
||||
|
||||
@ -142,7 +141,7 @@ private function save_configuration_to_disk(array $traefik_dynamic_conf, string
|
||||
$yaml;
|
||||
|
||||
$base64 = base64_encode($yaml);
|
||||
remote_process([
|
||||
instant_remote_process([
|
||||
"mkdir -p $this->dynamic_config_path",
|
||||
"echo '$base64' | base64 -d > $file",
|
||||
], $this->server);
|
||||
|
@ -6,7 +6,7 @@
|
||||
Save
|
||||
</x-forms.button>
|
||||
</div>
|
||||
<div class="">General configuration for your Coolify instance.</div>
|
||||
<div>General configuration for your Coolify instance.</div>
|
||||
|
||||
<div class="flex flex-col gap-2 pt-4">
|
||||
<div class="flex gap-2 w-96">
|
||||
|
Loading…
Reference in New Issue
Block a user