Configure NGINX as a Reverse Proxy

preview_player
Показать описание
Reverse proxy is one of the most widely deployed use case for NGINX instance, providing an additional level of abstraction and control to ensure the smooth flow of network traffic between clients and servers.

In this basic how-to video, we cover:
◆ High level understanding of forward proxy and reverse proxy
◆ proxy_pass directive
◆ Redefining Request Headers

Github Repo

Avoiding the Top 10 NGINX Configuration Mistakes

Free eBook: The Complete NGINX Cookbook

How to Get Started With NGINX

Chapters:
0:00 - Configure NGINX as a Reverse Proxy Agenda Overview
0:54 - What is NGINX and why is it lightweight?
1:36 - What is a Reverse Proxy?
2:24 - How does NGINX work as a Proxy?
3:53 - What is NGINX's default behavior?
6:44 - Configure NGINX as a Reverse Proxy Demo
8:13 - NGINX acting as a web server
Рекомендации по теме
Комментарии
Автор

simple and direct to the point tutorial :))

yahyabadawi
Автор

Fantastic video it helped me to understand how to configure, in a right way, this technology. Thank you.

direttodiretto
Автор

very nice and clear tutorial, thx so much

lahwfsk
Автор

*Very nice video and explanation, thanks a lot and greetings from Argentina.*

Gustavoutnfra
Автор

Nicely explained; I wish I had come across this before wasting a lot of time through trial and error on Apache. Thank you!

RoamFree
Автор

Really useful video - thanks very much. could you do another showing how you can proxy based on the domain/subdomain name please?

stevecassidy
Автор

After configuring NGINX to an IIS web server, is there any additional setup needed at Windows Server?

fabr
Автор

What can you do to display static elements that have a relative path?

Doesn't seem to work

mariobader
Автор

Hi sir,
Good custom logs format.
TY.

alirezahassani
Автор

Good technical level on the presentation and informative

mabrukc
Автор

I have a ca provideing certificates for all my servers. How can I configure nginx to use the ca.crt file to check if it is one of my own servers requesting and just let this requests through?

matthiasebert
Автор

thanks for the video. I wanted to ask if there is a configuration that works with exchange. I have tried various configurations but I have had problems especially with the OUTLOOK and mobile clients

giannico
Автор

Is it possible to use nginx reverse proxy as tcp?

_dwix
Автор

Can this be setup on Qnap for plex and emby apps ?

ronkali
Автор

how about if I have two apps running in my instance say in port 4000 and 9000 then I want to serve the two apps using the same IP but different paths in the request

chrisowuor
Автор

Is it beneficial to configure nginx as a web server and a reverse proxy on the same VM?

dsulvadarius
Автор

is there a simple line we can add to the config where we set up the custom_log to include datetime? I am struggling to find something suitable on google

pttech
Автор

Getting cors policy blocked I don't know how to write up the sites available file for my stack😣

tegaogheneovo
Автор

Hello, i have this error on the firefox page : 502 gateway
I have an nginx proxy reverse with an iis. How to resolve this error ? Thanks.

fabricenikine
Автор

Can the reverse proxy and load balancer be on the same instance of Nginx, or should they be on separate instances?

justinnoor