• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Configure proxy to hide Image Proxy's backend origin IP

#1
Hey there,
I wonder if it's possible to configure some http or socks5 proxy for Image Proxy system?

In `/library/Zend/Http/Client/Adapter/Proxy.php` I see this block:
PHP:
class Zend_Http_Client_Adapter_Proxy extends Zend_Http_Client_Adapter_Socket
{
    /**
     * Parameters array
     *
     * @var array
     */
    protected $config = array(
        'ssltransport'  => 'ssl',
        'sslcert'       => null,
        'sslpassphrase' => null,
        'sslusecontext' => false,
        'proxy_host'    => '',
        'proxy_port'    => 8080,
        'proxy_user'    => '',
        'proxy_pass'    => '',
        'proxy_auth'    => Zend_Http_Client::AUTH_BASIC,
        'persistent'    => false
    );
Maybe there is some way to pass those in config.php?

Thanks in advance =)