Pasar al contenido principal

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

Lista de autores

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
    ]
];
De ayuda Poco útil

32 de 61 personas considera que esta página es útil

Comentario (1)

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

Nuevo comentario

Por favor, inicia sesión o regístrate para enviar un comentario.

¿Necesitas que te recordemos la contraseña?