how to fix it ? im using digitalocean one click app
סיכום מבוסס בינה מלאכותית
The discussion revolves around resolving a Port 443 blockage on a Discourse instance deployed via DigitalOcean’s One-Click App, likely due to Cloudflare incompatibility. Sahil_Dadwal seeks help after encountering installation issues, sharing screenshots for context. markersocial suggests disabling Cloudflare proxying (orange cloud) temporarily during installation or manually editing app.yml to include templates/cloudflare.template.yml and rebuilding the app using ./launcher rebuild app markersocial. Sahil_Dadwal asks how to edit app.yml, and after confirming the setup looks correct Sahil_Dadwal, markersocial advises re-enabling Cloudflare after successful install. Further, Sahil_Dadwal asks how to configure hostname and SMTP settings, with markersocial directing to scroll down in the file. When Sahil_Dadwal asks if Gmail can be used, markersocial recommends AWS SES for cost-effectiveness (though not entirely free), noting Gmail’s untested compatibility. Sahil_Dadwal notes AWS SES’s 12-month free tier, but markersocial clarifies it may apply only to EC2-hosted Discourse. Sahil_Dadwal considers SendGrid, while archie123 recommends Mailgun, which requires card verification but doesn’t charge unless usage exceeds free tier limits.
It’s probably because of Cloudflare incompatibility with the installer. Maybe try disable Cloudflare proxying (orange cloud) for your A records temporarily while installing or just manually edit the app.yml and rebuild (that’s what I do).
how to edit app.yml ?
cd /var/discourse
nano containers/app.yml
Don’t forget to add this in the templates section at the top of your app.yml:
- "templates/cloudflare.template.yml"
Add the necessary info, like hostname and smtp credentials.
Save and exit, then run:
./launcher rebuild app
Yeah that looks good, if you try the installer now with that disabled hopefully it will work. If it succeeds, you will still want to add the cloudflare template to the app.yml and rebuild.
You have to scroll further down the file to see those fields. Did the installer fail even with Cloudflare proxying disabled?
I recommend AWS SES, it’s the most cost effective top tier service I know of. It’s not free though, but it’s cheap and usage based with no minimums.
Not sure for using a free Gmail, I haven’t tried. You might want to search around the forums for that.
aws ses starting price free for 12 months
I think that is only for if you are hosting Discourse with them on an EC2 instance unless I’m mistaken.
okay i’ll try sendgrid
Mail gun is a great SMTP provider, you just need to verify with a credit/ debit card, but it won’t charge you anything.



