If you encounter a “Too Many Redirects” error after setting up SSL/TLS on your Laravel Forge site with Cloudflare DNS, there is a simple solution to resolve this issue. Follow the steps below to fix the problem.
-
Login to your Cloudflare account and navigate to the Cloudflare dashboard for your domain.
-
Find the SSL/TLS option in the dashboard menu and click on it.
-
You will see the Encryption Mode section, which is set to “Flexible” by default. Change the Encryption Mode to “Full (strict)”.
-
After selecting “Full (strict)”, click on the “Save” button to apply the changes.
-
Wait for a few moments for the changes to take effect. Cloudflare will update the SSL/TLS settings for your domain.
-
Once the changes are applied, try accessing your website again. The “Too Many Redirects” error should be resolved now.
By following these steps and changing the SSL/TLS encryption mode to “Full (strict)”, you should be able to fix the issue of too many redirects after setting up SSL/TLS on Laravel Forge with Cloudflare DNS.
Tags: Laravel Forge, Cloudflare, SSL/TLS, redirects, troubleshooting