Best practice for SSL passthrough?
Erik Weber
twiztar at gmail.com
Fri Jun 17 15:44:18 CEST 2011
On Fri, Jun 17, 2011 at 3:23 PM, Lars Jørgensen <lajo at kb.dk> wrote:
>> With Nginx you can pass some extra headers to your backend as well, so
>> you can differentiate between HTTP and HTTPs traffic.
>
> In what case would I want to do that?
In cases where you hard link uri's. E.g. lets say you have all your
images hosted on a sub called images.example.com. Based on the
existence of a specificed header, X-Use-HTTPS in this example, you can
make sure that your backend provides an output with https-uris.
--
Erik
More information about the varnish-misc
mailing list