diff --git a/app/Http/Livewire/Settings/Form.php b/app/Http/Livewire/Settings/Form.php index 7a129c613..1ea7a74ac 100644 --- a/app/Http/Livewire/Settings/Form.php +++ b/app/Http/Livewire/Settings/Form.php @@ -111,7 +111,7 @@ public function submit() } $yaml = Yaml::dump($traefik_dynamic_conf, 12, 2); if (config('app.env') == 'local') { - dump($yaml); + // dump($yaml); } $base64 = base64_encode($yaml); remote_process([ diff --git a/public/.htaccess b/public/.htaccess index d0d8a651a..3aec5e27e 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -19,7 +19,3 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] - - -Header always set Content-Security-Policy "upgrade-insecure-requests;" - diff --git a/resources/views/components/layout-simple.blade.php b/resources/views/components/layout-simple.blade.php index 8c6472474..8d4d43e27 100644 --- a/resources/views/components/layout-simple.blade.php +++ b/resources/views/components/layout-simple.blade.php @@ -6,6 +6,11 @@ + @if (request()->secure()) + + @else + http {{ request()->secure() }} + @endif @env('local') Coolify - localhost @endenv