first commit
This commit is contained in:
commit
405df0a122
3083 changed files with 69203 additions and 0 deletions
25
bootstrap/app.php
Normal file
25
bootstrap/app.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withRouting(
|
||||
web: __DIR__ . '/../routes/domains.php',
|
||||
commands: __DIR__ . '/../routes/console.php',
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware) {
|
||||
// Trust all proxies (for Traefik/Docker setup)
|
||||
$middleware->trustProxies(
|
||||
at: '*',
|
||||
headers: \Illuminate\Http\Request::HEADER_X_FORWARDED_FOR |
|
||||
\Illuminate\Http\Request::HEADER_X_FORWARDED_HOST |
|
||||
\Illuminate\Http\Request::HEADER_X_FORWARDED_PORT |
|
||||
\Illuminate\Http\Request::HEADER_X_FORWARDED_PROTO
|
||||
);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
//
|
||||
})->create();
|
||||
Loading…
Add table
Add a link
Reference in a new issue