Skip to main content

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

Authors list

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
    ]
];
Hữu ích Unhelpful

32 of 61 people found this page helpful

Comments (1)

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

Thêm nhận xét

Please log in or register to submit a comment.

Need a password reminder?