elkex
05/02/2023, 12:02 PMkalle
05/03/2023, 10:45 AMelkex
05/03/2023, 1:47 PMifox
05/03/2023, 3:30 PMelkex
05/04/2023, 7:21 AMelkex
05/12/2023, 12:08 PMelkex
05/22/2023, 9:29 AMifox
05/22/2023, 10:31 AMelkex
05/22/2023, 10:46 AMelkex
05/22/2023, 10:46 AMelkex
05/22/2023, 10:48 AMelkex
05/22/2023, 10:51 AMhttps://cdn.discordapp.com/attachments/1102928094689493094/1110158091380600832/Screenshot_2023-05-22_at_12.51.46.png▾
ifox
05/22/2023, 10:57 AMelkex
05/22/2023, 11:07 AMelkex
05/22/2023, 11:13 AMelkex
05/22/2023, 11:13 AMifox
05/22/2023, 11:18 AMifox
05/22/2023, 11:19 AMelkex
05/22/2023, 1:26 PMifox
05/22/2023, 1:37 PMelkex
05/22/2023, 1:49 PMelkex
05/22/2023, 1:49 PMelkex
05/22/2023, 1:50 PMelkex
05/22/2023, 1:50 PMifox
05/22/2023, 1:50 PMelkex
05/22/2023, 1:52 PMhttps://cdn.discordapp.com/attachments/1102928094689493094/1110203566221688932/Screenshot_2023-05-22_at_15.52.28.png▾
elkex
05/22/2023, 1:53 PMhttps://cdn.discordapp.com/attachments/1102928094689493094/1110203908011343922/Alef_Admin.png▾
elkex
05/22/2023, 1:56 PMhttps://cdn.discordapp.com/attachments/1102928094689493094/1110204666215678004/Alef_Admin.png▾
elkex
05/22/2023, 2:04 PMifox
05/22/2023, 2:05 PMifox
05/22/2023, 2:05 PMelkex
05/22/2023, 2:06 PMelkex
05/22/2023, 2:11 PMphp
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array<int, string>|string|null
*/
protected $proxies = "*";
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
}
ifox
05/22/2023, 2:13 PM$proxies = "*";
should let all proxies through. But you need to make sure which header your application is receiving and add it to $headers
if its not there.elkex
05/22/2023, 2:15 PM