Clearly something has changed. The key is finding out what. You haven't provided many details to work with.
If Cloudflare CDN is involved maybe someone recently changed the setting to Flex? You also mentioned PHP app but I didn't see any evidence of that in the VirtualHost. Maybe that app is involved in the redirects. These are just guesses based on little info.