Generating HTTPS URLs with Symfony on DigitalOcean App Platform

I’ve been dealing with a frustrating issue in a Symfony application hosted on DigitalOcean App Platform . Since it took me quite a while to find the solution, I thought I’d share it here in case it helps someone else. By default, every application running on App Platform includes Cloudflare CDN as a reverse proxy. This provides a number of benefits, especially if your application sets appropriate…