We have 7 AEM cloud instances. The vhosts files are complex, and we have issues with redirects etc.
Testing by uploading to cloud takes 1-2 hours, so it takes a day to test a few changes.
We want to run dispatcher locally. It obvoiusly requires editing the /etc/host file with the name one of our sites, e.g.
127.0.0.1 www.mysite.com
Then when we hit http://www.mysite.com:8090 or https://www.mysite.com in a browser, we get:
ERR_SSL_PROTOCOL_ERROR
because there are no certificates etc installed.
Has anyone solved this issue?
In the vhosts, everything is "http". this means we see constant switching between SSL and non SSL whenever a rewrite rule happns, which means browsers see a lot of unnecessary redirects, which certainly affects performance and SEO.
To try to fix this, we have puth https: in may of the rewrite rule targtes, but this doesnt seem to help