We're trying to configure Cloudfront to access the myDBR instance, but whenever index.php is attempted to be accessed, a redirect loop occurs.
SSL was previously configured in NGINX on the hosting server which has been removed.
The mydbr app is directly available via http when directly access via the EC2 instance url. (but throws licence issue as not on domain)
Calling a report via /report.php does not cause a redirect loop (but throws licence issue as not on domain)
Removing the mydbr and php settings from NGINX conf correctly loads the nginx home, so the issue does not appear to be there, but rather in php or mydbr itself.
Any ideas?