Nginx Cloudflare, Nginx, Letsencrypt SSL setup. Too many redirect issue. Took three hours to solve. (Silly mistake) A very little knowledge about Cloudflare's SSL feature caused too many redirect issue and took three hours to find and fix.