Fix container startup: plain HTTP behind reverse proxy
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>
This commit is contained in:
Malek Tellissi
2026-09-11 02:29:22 +02:00
co-authored by Claude Sonnet 4.6
parent a9d14e4bde
commit f54b471848
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
//
$middleware->trustProxies(at: '*');
})
->withExceptions(function (Exceptions $exceptions) {
//