Merge branch 'collectd-4.6' into collectd-4.7
[collectd.git] / src / apache.c
index 371e1d4..a333bf2 100644 (file)
@@ -458,6 +458,7 @@ static int init_host (apache_t *st) /* {{{ */
        }
 
        curl_easy_setopt (st->curl, CURLOPT_URL, st->url);
+       curl_easy_setopt (st->curl, CURLOPT_FOLLOWLOCATION, 1);
 
        if (st->verify_peer != 0)
        {