XF 1.5 Untrusted Http Client

Sunka

Well-known member
  • A new config.php option $config['untrustedHttpClient'] has been added to allow you to specify a custom configuration when making untrusted HTTP calls such as via the image proxy. For example, this can allow you to direct the connection through a proxy to keep your server's IP hidden.

Regarding this in newest xenforo version, could someone give some examples and elaborate this option little more.
My forum is on https and I am running xenforo proxy for images.

Thank you
 
  • Like
Reactions: rdn

Chris D

XenForo developer
Staff member
The port is part of the address, after the colon:
PHP:
$config['http']['proxy'] = 'tcp://123.123.123.123:80';
In this case the port number is 80.
 
Top