Hi guys, recently we started to migrate all our exception handling over to Sentry.
However we've got a cluster of servers which have restricted internet connection, so the only way they can contact the internet is via a proxy.
E.g. when we use
curl on the project we have a set up similar to
$proxy = '126.96.36.199:8080';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_PROXY, $proxy);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$file_contents = curl_exec($ch);
$file_contents = false;
So we just pass in the proxy to the curl request - how can we apply this same logic to the Sentry/Raven handler within laravel and within the standard php package?