How do I configure Discourse behind an AWS or Google Cloud Proxy with SSL

You do realise that this very site you are replying on is serving all the traffic via an AWS alb with an auto scaling group?