איך להפנות http ל-https ב-Digital Ocean droplet?

Thanks for the reply.
I’m new to docker/discourse/RoR so not sure what exactly it uses underneath?
What does discourse use as web server? nginx or apache? Can’t we redirect subdomain from any config file?