Merge branch 'develop' into trunk

This commit is contained in:
Vincent BRIDIER 2026-07-31 10:17:53 +02:00
commit 019c03ccb5
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array<int, string|null>
*/
public function hosts()
{
return [
$this->allSubdomainsOfApplicationUrl(),
config('app.k8s_internal_host'),
];
}
}

View file

@ -52,7 +52,9 @@ return [
|
*/
'url' => env('APP_URL', 'https://mesbr.test'),
'url' => env('APP_URL', 'http://localhost'),
'k8s_internal_host' => env('APP_K8S_INTERNAL_HOST'),
/*
|--------------------------------------------------------------------------

View file

@ -8,6 +8,7 @@ data:
APP_KEY: "${APP_APP_KEY}"
APP_DEBUG: "${APP_APP_DEBUG}"
APP_URL: "https://${REDIRECT}${APP_DOMAIN}"
APP_K8S_INTERNAL_HOST: "${APP_APP_K8S_INTERNAL_HOST}"
LOG_CHANNEL: "k8s"
DB_HOST: "${APP_DB_HOST}"
DB_PORT: "${APP_DB_PORT}"