You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line in the Dockerfile for Laravel stops fly launch running for the recently-released Laravel 11. Commenting out this line in the Dockerfile allows a Laravel 11 app to launch on fly
Thank you for reporting this issue and suggesting a fix for this! Great job!
A new pre-release version of the flyctl command has been rolled out with the proper changes for setting Trusted Proxies for a Laravel 11 application. It will be included in the next major release for flyctl, but the pre-release is installable of course! Alternately, you can make use of the dockerfile-laravel package to generate Dockerfile supporting Laravel 11.
This line in the Dockerfile for Laravel stops
fly launch
running for the recently-released Laravel 11. Commenting out this line in the Dockerfile allows a Laravel 11 app to launch on flyflyctl/scanner/templates/laravel/Dockerfile
Line 23 in 06ad640
Laravel 11 changed where the config is for trusting all proxies.
app/Http/Middleware/TrustProxies.php
doesn't exist any more.This is how to trust all proxies in Laravel 11:
https://laravel.com/docs/11.x/requests#trusting-all-proxies
Adding the code below in
bootstrap/app.php
seems to be what to do but I am very very new to LaravelThe text was updated successfully, but these errors were encountered: