Have you made an express app and want to deploy it but aren't sure how? Or maybe you want to make sure you've done it the right way, not overexposing your app and using HTTPS? Let me show you my favorite way, by putting it behind Apache, a battle-tested webserver of 30 years, and letting it handle the HTTPS, with certbot and let'sencrypt. In this video I use an Ubuntu 22 server and have a domain already linked up, but feel free to follow along and learn how to deploy the right way! 0:00 - How a reverse proxy works 8:34 - Installing Apache 11:15 - How Apache loads http traffic 13:28 - Installing node and getting Express up 16:12 - Setting up the vhost 18:54 - Enabling the site/vhost 19:51 - Enabling proxy and proxy_http 22:08 - HTTPS with certbot 26:28 - The final product