This commit is contained in:
Andras Bacsai 2023-05-26 12:04:44 +02:00
parent 19cefd9718
commit 948ec522b0
3 changed files with 6 additions and 5 deletions

View File

@ -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([

View File

@ -19,7 +19,3 @@
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
<IfModule mod_headers.c>
Header always set Content-Security-Policy "upgrade-insecure-requests;"
</IfModule>

View File

@ -6,6 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://api.fonts.coollabs.io" crossorigin>
<link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet">
@if (request()->secure())
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
@else
http {{ request()->secure() }}
@endif
@env('local')
<title>Coolify - localhost</title>
@endenv