fix
This commit is contained in:
		| @@ -161,7 +161,8 @@ function setup_dynamic_configuration() | |||||||
| { | { | ||||||
|     $dynamic_config_path = get_proxy_path() . "/dynamic"; |     $dynamic_config_path = get_proxy_path() . "/dynamic"; | ||||||
|     $settings = InstanceSettings::get(); |     $settings = InstanceSettings::get(); | ||||||
|     $server = Server::findOrFail(0); |     $server = Server::find(0); | ||||||
|  |     if ($server) { | ||||||
|         $file = "$dynamic_config_path/coolify.yaml"; |         $file = "$dynamic_config_path/coolify.yaml"; | ||||||
|         if (empty($settings->fqdn)) { |         if (empty($settings->fqdn)) { | ||||||
|             instant_remote_process([ |             instant_remote_process([ | ||||||
| @@ -268,6 +269,7 @@ function setup_dynamic_configuration() | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | } | ||||||
| function setup_default_redirect_404(string|null $redirect_url, Server $server) | function setup_default_redirect_404(string|null $redirect_url, Server $server) | ||||||
| { | { | ||||||
|     $traefik_dynamic_conf_path = get_proxy_path() . "/dynamic"; |     $traefik_dynamic_conf_path = get_proxy_path() . "/dynamic"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai