htaccess redirects not working after a while

Mattias Geniar mattias at
Thu Dec 13 09:05:11 UTC 2018

> Here you have it:

You are not caching the protocol (http or https), which will lead to different caching results depending on the backend response.

As an example, have a look here: 

In your Apache proxy config you can set additional headers to mark they've been passed through it (in this example, X-Forwarded-Proto) so Varnish knows to treat them differently.


More information about the varnish-misc mailing list