Deploy All Your Apps With SSL To One Nginx Server | Ruby On Rails 7.1 Tutorial



Deploy All Your Apps With SSL To One Nginx Server | Ruby On Rails 7.1 Tutorial

Deploy All Your Apps With SSL To One Nginx Server | Ruby On Rails 7.1 Tutorial

Create an Nginx Reverse Proxy with Lets Encrypt in Docker-Compose, then deploy as many apps as you want!
Checkout my course(s) at: https://learn.deanin.com

This tutorial covers using Lets Encrypt with Nginx as a reverse proxy to serve SSL certificates to every Rails docker container that you spin up. This means as you create more apps, you can point new subdomains to the server and Nginx will automatically find the new Docker containers and issue certificates to them. We also use Postgresql as the database in another Docker container.

Source:
https://github.com/Deanout/everything_app_video

Digital Ocean Credits (Affiliate link, $200 credit for 60 days, if you spend $25 they pay me $25)
https://m.do.co/c/e10ec451ee35

Join this channel to help support these videos:
https://www.youtube.com/channel/UCRQv-3VvPT9mArF5RfrlpKQ/join

Follow me on social media:
https://linktr.ee/deanin

If you liked this video, please consider subscribing: https://t.co/RZ4EwP0F2a

Timestamps
0:00 Demo
3:12 DigitalOcean Server Setup (Link In Description)
4:51 Docker Compose For Nginx And LetsEncrypt
9:21 Postgresql Docker Container
11:32 Ruby On Rails 7.1 Container
18:15 Creating A Second Rails Application
20:07 GitHub Setup
23:35 Running The Docker Applications With Test Certificates
33:25 Changing To Production SSL Certificates For Both Apps!

#Deanin #Software #Programming

Comments are closed.