Ngnix as reverse proxy for Apache name-based vhosts
Posted
by
Ben Carleton
on Server Fault
See other posts from Server Fault
or by Ben Carleton
Published on 2011-01-11T03:53:26Z
Indexed on
2011/01/11
3:56 UTC
Read the original article
Hit count: 450
I am running several websites on Apache currently utilizing name-based vhosts. All of the sites are on the same server. I would like to add Ngnix on a new server to sit in front of Apache as a caching reverse proxy.
What is the best way to handle the multiple name-based vhosts? Should I simply have Nginx handle the names and run each Apache vhost on a separate port? Or is there a way to just have Nginx pass the hostname to Apache and have apache take care of the domain names?
© Server Fault or respective owner