diff --git a/src/nginx.c b/src/nginx.c
index f1f3f99c38e684a3e669e109701cad3909054aed..a73e4d24c822a9afd1efb4cd2fd644fced03a8d7 100644 (file)
--- a/src/nginx.c
+++ b/src/nginx.c
}
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L);
+ curl_easy_setopt (curl, CURLOPT_MAXREDIRS, 50L);
if ((verify_peer == NULL) || IS_TRUE (verify_peer))
{