I need to set a trusted proxy in my installation so that secure cookie flags are set correctly.
Currently as a temporary measure i am setting the following in index.php
$proxies = ['18.104.22.168']; Request::setTrustedProxies($proxies);
However i would like to be able to set a new trusted proxy from a settings file or module that will persist through a core update without needed to patch.
Where is the best place to specify this?