yiisoft/proxy-middleware

`TrustedHostsNetworkResolver` - "forwarded" header always has "rfc" type

arogachev opened this issue · 1 comments

So this seems redundant:

[
    'ipHeaders' => [[TrustedHostsNetworkResolver::IP_HEADER_TYPE_RFC7239, 'forwarded']],
];

Related - #1.

Correct. No need to customize the name since it's fixed in RFC.