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.
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?
Thank you for your input! We will consider this functionality in upcoming releases, if it will be popular.
Everyone, please continue voting for this feature if you consider it important.