fix: support sidataprod path behind traefik
CI/CD Pipeline to Rancher - SIDATA / build-and-deploy (push) Failing after 2m3s

This commit is contained in:
2026-09-06 12:02:09 +07:00
parent 2e4315dc68
commit 674941939c
4 changed files with 8 additions and 17 deletions
+5 -14
View File
@@ -2,22 +2,13 @@
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string|null
*/
protected $proxies = '*';
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}
protected $headers = [
\Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
];
}