Create a single config for multiple Apache virtual hosts.
nginx-forum at nginx.us
Wed Aug 26 10:48:18 UTC 2015
First time posting here, I have been searching online but have not found any
good solutions yet.
I am trying to run nginx as reverse proxy for Apache, running multiple
virtual hosts (domains) on the same ip.
I wanted to know if it is possible to have a single nginx config, that would
pass the correct url/hostname/path to Apache, without having to create a
separate server block for each domain. For example if all domain directories
are the same as their hostnames:
If it is - are there any potential issues with this setup?
Thanks in advance!
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261260,261260#msg-261260
More information about the nginx