Preskoči in pojdi v glavno vsebino

Configure a proxy server for HTTP requests made by Deskpro - Managing Deskpro On-Premise / Server Software - Deskpro Support

Configure a proxy server for HTTP requests made by Deskpro

Seznam avtorjev

In some situations, Deskpro itself may make HTTP requests: Downloading updates, executing a webhook, consuming web APIs such as with the JIRA app, etc.

Starting with Deskpro v5.2.0, you can make Deskpro use a proxy server for these HTTP requests by editing config/advanced/config.settings.php and adding one of these three configuration variants:



$SETTINGS['http_client'] = [
    'proxy' => 'http://localhost:8125',

    // or
    'proxy' => 'tcp://localhost:8125',

    // or
    'proxy' => [
        'http'  => 'tcp://localhost:8125', // Use this proxy with "http"
        'https' => 'tcp://localhost:9124', // Use this proxy with "https",
        'no'    => ['.mit.edu', 'foo.com']    // Don't use a proxy with these
    ]
];
Uporabno Neuporabno

32 od skupaj 61 oseb je ocenilo to stran kot uporabno.

Komentar (1)

Tony Benham
Do you need to restart deskpro after making these type of changes in config files ?

Dodaj komentar

Pred objavo komentarja se moraš prijaviti.

Potrebuješ namig za geslo?