htaccess redirects not working after a while

Mattias Geniar mattias at nucleus.be
Mon Dec 10 12:14:12 UTC 2018


> 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.

Can you share the code in your vcl_hash() function? My immediate guess would be that it's not taking into account the protocol of the request (http vs. https) and giving you wrong cache hits as a result.

Mattias



More information about the varnish-misc mailing list