Optimise web forwarding config when using nginx + Apache
When using nginx as a reverse proxy to apache, it seems wasteful for a web forwarding domain to be configured within both http servers.
For example;
configure domaina.com to forward to http://domainb.com
You'll see a nginx virtualhost is created to reverse proxy domaina.com to apache. Apache is then configured to return the Location header to domainb.com.
Why not do it completely within nginx and save a tiny bit more memory on Apache's side?
6
votes

Thank you for your input!
Unfortunately, we have to close your request because it has not become quite popular for further implementation over the years.
—
IG