> 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: 
https://github.com/mattiasgeniar/varnish-6.0-configuration-templates/blob/master/default.vcl#L236-L238
 

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.

Mattias

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to