Deploy / deploy (push) Successful in 13s
- Caddyfile: disable auto_https and admin, listen on :80 only - docker-compose: bind port only on 127.0.0.1 to avoid public exposure - bootstrap/app.php: trust all proxies so Laravel generates correct URLs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
589 B
PHP
20 lines
589 B
PHP
<?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/web.php',
|
|
api: __DIR__.'/../routes/api.php',
|
|
commands: __DIR__.'/../routes/console.php',
|
|
health: '/up',
|
|
)
|
|
->withMiddleware(function (Middleware $middleware) {
|
|
$middleware->trustProxies(at: '*');
|
|
})
|
|
->withExceptions(function (Exceptions $exceptions) {
|
|
//
|
|
})->create();
|