Using Nginx Web Server as a Reverse Proxy

Code with Irtiza · Beginner ·☁️ DevOps & Cloud ·2y ago

About this lesson

In this video, I use Nginx as a reverse proxy to host multiple web apps and docker containers in one single server. Through the reverse proxy, I route traffic to different ports based on the incoming request's subdomain. 00:00 Intro 00:28 Quick Demo 01:26 Illustration 02:54 Nginx Config for Domain-based routing 05:22 HTTPS vs HTTP Routing 07:45 Using Subdomains to host different apps in one server 11:05 Routing Traffic to Docker Containers 13:25 Detailed Blog Post & Closing Thoughts ✍️ Detailed Blog Post: https://irtizahafiz.com/blog/i-pay-$0-for-a-10000-subscriber-self-hosted-email-newsletter-system 🕸️ My website: https://irtizahafiz.com?utm_source=youtube #nginx #networking #programming #softwaredevelopment

Original Description

In this video, I use Nginx as a reverse proxy to host multiple web apps and docker containers in one single server. Through the reverse proxy, I route traffic to different ports based on the incoming request's subdomain. 00:00 Intro 00:28 Quick Demo 01:26 Illustration 02:54 Nginx Config for Domain-based routing 05:22 HTTPS vs HTTP Routing 07:45 Using Subdomains to host different apps in one server 11:05 Routing Traffic to Docker Containers 13:25 Detailed Blog Post & Closing Thoughts ✍️ Detailed Blog Post: https://irtizahafiz.com/blog/i-pay-$0-for-a-10000-subscriber-self-hosted-email-newsletter-system 🕸️ My website: https://irtizahafiz.com?utm_source=youtube #nginx #networking #programming #softwaredevelopment
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

5 Best BrowserStack Alternatives to Optimize Your Testing Infrastructure
Discover the top 5 BrowserStack alternatives to optimize testing infrastructure for better execution speed, pricing, and test management
Medium · DevOps
️ The Lifecycle Symphony: A Senior SRE’s Deep Dive into Init and Sidecar Containers
Learn how to optimize container initialization and sidecar containers for resilient multi-cloud platforms
Medium · DevOps
`wrangler dev --remote` silently writes to your production KV namespace — here's the fix
Learn how to safely use wrangler dev --remote with live KV namespaces without overwriting production data
Dev.to · 강해수
Qwen 3.6 27B Is the Local Dev Sweet Spot — Here's Why
Discover why Qwen 3.6 27B is the ideal choice for local development, and how it can boost your productivity
Dev.to · Carter May

Chapters (8)

Intro
0:28 Quick Demo
1:26 Illustration
2:54 Nginx Config for Domain-based routing
5:22 HTTPS vs HTTP Routing
7:45 Using Subdomains to host different apps in one server
11:05 Routing Traffic to Docker Containers
13:25 Detailed Blog Post & Closing Thoughts
Up next
Containers on Amazon ECS with Mama J
AWS Developers
Watch →