There was any configuration change in the wordpress or cloudflare side before the redirect loop started? We have a Support Tool that will gather relevant information for us to debug the issue. Could you please download and execute it on the machine where the stack is running by following the steps described in the guide below? You must click on the platform or cloud that you are using to find the correct instructions.
How to Run the Bitnami Support Tool
Please note that you need to paste the code outputted by the tool in your reply.