RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
RewriteCond %{HTTP:X-Forwarded-Proto} =""
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Before
protected $proxies;
After
protected $proxies = "*";
Documentation https://laravel.com/docs/5.8/requests#configuring-trusted-proxies
Thanks! it works!