Skip to content

Release 0.22.1: TRUSTED_PROXIES solo obligatorio al servir HTTP - #16

Merged
GGEdu merged 2 commits into
mainfrom
fix/trusted-proxies-consola
Oct 14, 2026
Merged

GGEdu merged 2 commits into
mainfrom
fix/trusted-proxies-consola

Conversation

@GGEdu

@GGEdu GGEdu commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Corrige la 0.22.0: las apps no construyen.

Causa. shared-http-laravel exige TRUSTED_PROXIES en producción y lanza una excepción si falta. Lo hacía también en consola, y artisan se ejecuta al construir la imagen (con APP_ENV=production y sin la configuración del chart).

Cambios:

  • Al servir HTTP en producción sigue fallando si falta TRUSTED_PROXIES.
  • En consola (construcción de la imagen, config:cache, migraciones, colas, Reverb) no se confía en ningún proxy ([]), porque no hay peticiones que proteger.
  • Las pruebas de humo de build-app.yml pasan TRUSTED_PROXIES, igual que el chart.
  • Tests nuevos para los dos casos.

@GGEdu
GGEdu merged commit 58fcf93 into main Oct 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant