Hi,
(First post so please be patient )
I am using TTRSS with Docker in a corporate proxy environment. which means that you’ll need to set HTTP_PROXY and NO_PROXY curl opts to make meaningful usage of a http client.
So I needed to adapt the function.php to be able to support the NO_PROXY curl opts appropriately, like
if (defined('_CURL_HTTP_PROXY')) {
curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY);
}
if (getenv('HTTP_PROXY') !== false) {
curl_setopt($ch, CURLOPT_PROXY, getenv('HTTP_PROXY'));
}
if (getenv('NO_PROXY') !== false) {
curl_setopt($ch, CURLOPT_NO_PROXY, getenv('NO_PROXY'));
}
As said I am in a Docker environment, therefore I choose to use the environment variables rather than going for the configuration properties - I am not sure how much this interferes with your standard approaches about configurability.
Anyways, I’ll see the need for handling the NO_PROXY setting.
Does this make sense to you?
Thanks and cheers
Tobias