mirror of
https://github.com/elyby/accounts.git
synced 2026-11-13 11:13:54 +05:30
15 lines
362 B
PHP
15 lines
362 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'components' => [
|
|
'request' => [
|
|
// Only the client's IP and protocol are trusted from proxies.
|
|
// The host is always taken from the Host header.
|
|
'trustedHosts' => [
|
|
'private' => ['X-Forwarded-For', 'X-Forwarded-Proto'],
|
|
],
|
|
],
|
|
],
|
|
];
|