diff --git a/src/nginx.c b/src/nginx.c
index cea3c844c5eee6d33ee9b38071e003d196a2633a..53137a71d206dd5ec9218d9697a963a6085c8db3 100644 (file)
--- a/src/nginx.c
+++ b/src/nginx.c
curl_easy_setopt (curl, CURLOPT_URL, url);
}
+ curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1);
+
if ((verify_peer == NULL) || (strcmp (verify_peer, "true") == 0))
{
curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, 1);