How to Set Up an Nginx Reverse Proxy for Apache

preview_player
Показать описание
Learn how to set up an Nginx reverse proxy for Apache in this tutorial that will show you how configure proxy_pass and the appropriate headers for your website.

Check out my vlog channel @TonyFlorida

#nginx #apache #reverseproxy
Рекомендации по теме
Комментарии
Автор

Omg thank you! I threw in the towel on coding after not being able to get my reverse proxy working properly. I picked it back up today and this was huge! TYSM!

mSpinks
Автор

This is honestly the way to go if you're gonna be doing any type of dynamic content but wanna retain the speed and use of NGINX. Apache on the backend, NGINX on the front.

madezra
Автор

I have a quiestion, is ngnix installed on the same server you have the application running on, or is ngnix running by itself on a separate server

anthonysantana
Автор

Hi Tony, based on this kind of setup (nginx as reverse proxy with apache web server), does this mean that when I configure my Wordpress, it will be hosted by apache?

I hope you get to see my comment/question and your video really inspired me to dive-in to debian. Thanks and more power!!!

JeremyNyt
Автор

Hello Tony, I just built the same Infrastructure as you did just locally on VirtualBox and without a domain configured (everything is running on localhost). Somehow I’m still able to access the website over the port 80 and 8080, even with the virtualhost configured only on 8080 and listening to 8080. Do you have any idea how I can solve the problem? How are you able to see if the client is accessing the reverse proxy or directly the webservice? Great content btw.
Greetings

aleksandarradovanovic
Автор

How do you setup https connection between nginx and apache?

Reydhoo
Автор

Hi Tony, i am on hostinger vps plan 1, 1GB of ram and 20 GB disk space so is this enough to run 2 websites with this setup?

petertremblay
Автор

That was Sweet explanation man keep it up Thanks

rusiruathukorala
Автор

Hello, i have nuxt and nginx install and working but when i go to different request than the main, nginx show "Not found 404", i think that is because of proxy_pass. How i can solve it ? How i can get request path and variabels from request to change in proxy_pass.

p-tropa
Автор

So, how do I do this with Docker for ease of development between a live server and localhost?

WiserRhinoDesigns
Автор

Hello Tony. I know that I am a little late getting to the party so-to-speak. Your presentation was clear and precise. Thank you for sharing your time and expertise with us. Followed your instructions to the letter. However, I still have to use the :8888 after the URL. If I simply enter the URL I am directed to another server that I am running here at my place. It is hosting several websites under HestiaCP.

PeterBatah
Автор

hey Tony,
That was a nice explanation.
Moreover, I am into the backend (Java) Development and wished to start learning dev-ops-related concepts.
so do we have a designed series for it?

vatsalvalecha
Автор

How do you setup an NGINX reverse proxy for Apache2 on SSL port 443?

gabrielferrer
Автор

Hi Tony one question if I do a reverse proxy will this secure my main server.

mrpoliticalguy
Автор

Great tutorials! How don't you have more subscribers?

DM-vuhe
Автор

can nginx proxy manager be used without portforwarding??

anirudhya_g
Автор

Hi sir, Can I use Nginx reverse proxy for Apache and redis cache together?

tutorplus
Автор

Thank you so much, Tony! Can I set the Apache server name to Domain?

yohanbyun
Автор

where I can add 301 redirects after setting proxy server for caching.

nomanjaved
Автор

I expose my localhost to the internet with ngrok cause I don't want to port forward. instead of putting my ip in the nginx server can I put the ngrok domain instead?. Pls answer.

mrpoliticalguy