Hi, I have the following setup:
Apache SSL (proxy) -> Varnish -> Apache non SSL (Wordpress backend) I have in place several redirects in htaccess so if someone wants to reach the non-SSL site, is redirected to SSL: http://www.mydomain.com -> https://www.mydomain.com http://mydomain.com -> https://www.mydomain.com I do this with the following: RewriteCond %{HTTP_HOST} !^www.mydomain.com$ [NC] RewriteRule ^(.*)$ https://www.mydomain.com/$1 [L,R=301] However I realized that from time to time redirects stop working and I have to purge the Varnish cache and then the redirects work again. Why is that? Regards, Miguel --- This email has been checked for viruses by AVG. https://www.avg.com _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
