I am sorry for disturbing you and maybe asking question that has been asked/answered. Due to luck of Cloudflare knowledge I could not express my problem to google clearly that is why I could not find any solution.
Situation: I have two laravel project in my server and one serves as CDN and it is under cdn.mydomain.com subdomain. It worked perfectly, however when I added Cloudflare to my website I can actually get already uploaded images but cannot upload images to my cdn server anymore and it gives 524 host error. What I found that 524 timeout error in Cloudflare but I could not relate this to my problem.
Thank you beforehand!