How to configure Nginx Reverse Proxy Servers Tutorial

preview_player
Показать описание
This Nginx Reverse Proxy example will show you how easy it is to have Nginx proxy requests to backend NodeJS servers, Apache, Tomcat or even Docker containers hosting microservices. If you need an Nginx Reverse Proxy tutorial on the setup and configuration of the popular HTTP server, this example will show you everything you need to know. From configuring the Nginx proxy_pass location to adding Nginx header settings for the reverse proxy servers, this tutorial covers the Nginx reverse proxy setup and configuration from start to finish.
Рекомендации по теме
Комментарии
Автор

Here's a compete tutorial I wrote up on how to setup Nginx as a reverse proxy for Tomcat or Node or any other type of backend server. Please check it out!

cameronmcnz
Автор

Finally it works. Thank you. I was close but a small detail made it not work.

cherubinth
Автор

Great tutorial, Cameron. Your presentation style is extremely clear and easy to follow. The problem for me is that localhost isn’t terribly applicable/useful. I want a reverse proxy so I can replace IPs and ports with FQDNs. I don’t know how to get there from where you left off, so a follow-up video would be appreciated. And while you’re at it, maybe a video to put an SSL certificate (LetsEncrypt/certbot, maybe?) on the reverse proxy machine so I never again get that annoying warning page due to using self-signed certificates.

donny_bahama
Автор

Great, like that it is straight to the point.

motolaoshin
Автор

thanks a lot, Cameron, it helped me!

nikitaantipin
Автор

Hi there and thank for this explanation but i am still confuse about where to point the reverse proxy, i have 3 websites use in server block so should i point site2 and site3 reverse proxy to site1? Or should i just leave the default nginx index page as a fake website for main server and putting all 3 sites in their own directory? Thank for any help since i am reading for the past 2 days about this without understanding correctly.

petertremblay
Автор

Isn't this just a normal proxy? How is this e en remotely reverse?

stephanmeijer