Zum Hauptinhalt springen

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

Autorenliste

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
    ]
];
Hilfreich Nicht hilfreich

32 von 61 Personen fanden diese Seite hilfreich

Kommentar (1)

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

Fügen Sie einen Kommentar hinzu

Bitte loggen Sie sich ein oder melden Sie sich an, um einen Kommentar zu hinterlassen.

Benötigen Sie eine Passwort-Erinnerung?