I’m a noob in AWS, but for those that are looking for a solution, this worked for me:
- Edit the the
app.yml, comment out the let’s encrypt templates
## Let's encrypt is not needed, the load balancer issues the certificate
## - "templates/web.ssl.template.yml"
## - "templates/web.letsencrypt.ssl.template.yml"
- SSH your instance and run:
cd /var/discourse/./launcher rebuild app
- In your ALB create a listener rule for port 80 to redirect to 443
- In the 443 listener, create a rule to redirect to your instance