403 Forbidden (openresty)

Hi ,

I am new to cloudflare and configured it as per guidlines that includes DNS records entry and updaing name servers.

My DNS record entries

Type Name Value TTL Status
A origin automatic bypass cloudflare proxy
A domainname automatic Use DNS proxy (CDN)
A www automatic Use DNS proxy (CDN)

Post that I updated servernames at my DNS provider

When I access any resource its accessible through https://origin.domain.com/css/cssname.css while if I access any resource through https://www.domain.com/css/cssname.css it gives 403 forbidden(openresty) error.

Please let me know if i am missing anything , my origin is working fine and not giving any error and publically accessible 0.0.0.0/0

There were recently several threads mentioning OpenResty
https://community.cloudflare.com/search?q=openresty

I believe there was some security setting somewhere configured which prevented Cloudflare from connecting.