Closed crazy-max closed 6 months ago
TrustProxies
is now included as default global middleware in Laravel 11 - https://laravel.com/docs/11.x/middleware#global-middleware.
So it would be at /var/www/anonaddy/app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
@willbrowningme https://github.com/anonaddy/docker/actions/runs/9103091858/job/25024173671?pr=278#step:8:135
Looks like
app/Http/Middleware/TrustProxies.php
has been removed in 1.2.0 since Laravel 11: https://github.com/anonaddy/anonaddy/commit/5cf59c4f7d59d4ab26f2b7748272d4e348183427#diff-487dcf55237970753ab8e476dfee655e48dd8bbf200f34e8bf404ef49f3090a5Is there an alternative to it or fine to remove this here?:: https://github.com/anonaddy/docker/blob/fd6c9fba9578499f7704047d628c59556d9dcbc7/rootfs/etc/cont-init.d/13-config-anonaddy.sh#L90-L91