staging.website.com loads perfectly over https. However, https admin pages immediately break because the assets are trying to load over http. If I navigate to the https asset directly, it loads fine. It would seem that Craft is failing to recognize the https request and kick over to the https url.
- Cloudflare DNS / SSL
- Arcustech VPS with Ubuntu & Apache
How I am enforcing HTTPS currently:
- Cloudflare Page Rule (Always Use HTTPS)
- Craft config: general.php > environmentVariables (siteUrl, baseCpUrl, etc.)
I do not have any https redirects going in my .htaccess - just the standard craft index.php logic. Adding https rules in the .htaccess will cause infinite loop redirects.