Too Many redirects when behind a SSL reverse proxy
We have tried a quiet a few things which are already mentioned in the forum but have not been able to solve the problem. Hope to get a complete solution.
We are running our website on say . - https://example.com and we have a shopping menu which needs to go to https://example.com/shop which is our magento installation on a different server which is in our Virtual private cloud (internal ip). This magento is deployed using Apache.
So we have a virtual host on example.com (Apache) which uses location /shop to proxy it to our magento installation. We would like to terminate SSL on example.com and proxy using HTTP to magento.
We are running into too many redirects with this setup. We are looking to validate our configuration for
Virtual Host on example.com (Any HTTP headers etc ?)
Apache Configuration where Magento is installed including .htaccess
Base URL. Web URL in Magento. ? Should it be http or https ?