After tryouts I found that this is only related to Cloudflare. Because I had no redirect problem before moving to Cloudflare.
In my case it was a simple fix like this. Select [Crypto] box and select Full (strict) as in the image.

Really, you can try this out first before any other actions.