diff --git a/includes/functions.php b/includes/functions.php index 5367c54b3a..1fa2566245 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1254,6 +1254,7 @@ function oxidized_reload_nodes() curl_setopt($ch, CURLOPT_TIMEOUT_MS, 5000); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_HEADER, 1); curl_exec($ch); curl_close($ch);