An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
hmm
Andras Bacsai1d2c4fc553a6
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.phpindex 4fb199496f..7b4a902a01 100644--- a/app/Providers/AppServiceProvider.php+++ b/app/Providers/AppServiceProvider.php@@ -24,9 +24,11 @@ class AppServiceProvider extends ServiceProvider*/public function boot(): void{- $settings = InstanceSettings::first();- if ($this->app->environment('local') && Str::startsWith($settings->fqdn, 'https')) {- URL::forceScheme('https');+ if ($this->app->environment('production')) {+ $settings = InstanceSettings::first();+ if (Str::startsWith($settings->fqdn, 'https')) {+ URL::forceScheme('https');+ }}}}