Configuring multiple applications on same port using nginx reverse proxy based on request urls

preview_player
Показать описание
This video explains how to setup nginx as reverse proxy for multiple applications based on URL
Рекомендации по теме
Комментарии
Автор

Even though this is an old tutorial but by far the best one to explain the concept of NGINX and its usage, very intuitive and helpful!

rawmetal
Автор

You have explained it in the best manner, simple and effective is what one should call it.

harisuresh
Автор

Man i was searching for thins tutorial for weeks.

suryah
Автор

Thank you... its a 2016 one, but still helpful. Thanks a lot

Buddhikasenevirathna
Автор

simple example, and easy to understand. Thank you. (But you can probably edit the video and remove all the beating around the bush till 5:25)

rajaramanv
Автор

Hi, it worked when i used locations as /, /codify, /linker but when i tried to put the location as /codify/linker it's not working.. how write the location and rewrite line of code in that case

diptayansil
Автор

how about state management ? my second project will have seperate provider and my first will have seperate provider..incase if i dont need presist what will be the approach which store provider will the project accept

rajeshkumar-jlin
Автор

does it work for the perticular ip entered instead of localhost, i want the multiple react projects to work from same ip and port with the different basename

GSKHappyLearning
Автор

clear and useful, thank you for sharing~

jackchou
Автор

I want to do something similar to this.
My situation:
Nginx webserver hosted at home on my server, running multiple servers blocks on the SAME port. site1.example.com, site2.example.com and site3.example.com.
I installed Nginx on a VPS to use it as a reverse proxy for my 3 sites on the SAME port. How can i do this? I already tried your config, but it won't work if all 3 files in "sites-enabled" have the same port.

Thanks!

Max
Автор

how about the subsequent requests though? this is only root routing.

guneshpatil
Автор

Very nice tutorial. Thanks for sharing

tarvinder
Автор

sir. what the version of nginx you use? i tried with nginx 1.10 not work

galihprasetiyo
Автор

Very good tutorial... Thank you very much...

gpchanaka
Автор

Thank you so much! This is very useful

potipharlinconnue
Автор

Hey can i host my angular App and The django rest Backend on the same Server using This technique...

vikhyatverma
Автор

this is cool, but my all static file (/stylesheets/style.css etc.) in the second app to be broke, can you tell me how to fix it? thanks

andriyfm
Автор

I have tried the same thing but iam getting 500 internal server error when i use rewrite url with reverse proxy. can you please help on it???

Nikhilkumar-fzci
Автор

Hi Mahtab, is there any way to do this in apache ? If yes, then can you please make a video on that

b.ravirao
Автор

How can I serve few pages of my application through Angular when entire App is built on top of Angular JS?

shwetamukta