From the course: NGINX for Beginners
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Reverse proxy demo - Nginx Tutorial
From the course: NGINX for Beginners
Reverse proxy demo
Welcome back guys now in this demo I'm gonna be showing you how to configure a reverse proxy. Now it's gonna be kind of similar to what we did with the load balancer but instead of sending traffic to two Apache back-end servers we're gonna be sending traffic to two flask applications running on two servers on port 5000. Now I should mention that the difference between load balancer and a reverse proxy is that with the load balancer we were sending traffic to two servers, whereas the reverse proxy can run inside the same NGINX server. So if you are trying to save money, you could in theory run the Flask application in the same server and have NGINX proxy that traffic internally. Now let's go over to the terminal so we can start configuring this. Now I'm here on NGINX, this is the reverse proxy in theory. We have node 1 and we have node 2. You can quickly do SSH node 01 to SSH into the other one or node 2. Let me clear this out and I'm going to be in the NGINX to configure a reverse…
Contents
-
-
-
-
(Locked)
Intermediate config introduction1m 21s
-
(Locked)
Virtual servers and multiple sites5m 36s
-
(Locked)
Configure multiple sites demo10m 40s
-
(Locked)
URL redirect and rewrite19m 53s
-
(Locked)
Configure URL redirect demo8m 30s
-
(Locked)
Configure URL rewrite demo3m 56s
-
(Locked)
Load balancer10m 32s
-
(Locked)
Load balancer demo9m 42s
-
(Locked)
Reverse proxy5m 57s
-
(Locked)
Reverse proxy demo7m 34s
-
(Locked)
Summary2m 8s
-
(Locked)
-
-
-