Mailing List Archive

Varnish and HTTPS
Hi,

I know that Varnish doesn't handle https. But what if the request is in https? Would varnish pass it to the backend or just drop it?

/ Erik
Varnish and HTTPS [ In reply to ]
Erik <duja at torlen.net> writes:

> I know that Varnish doesn't handle https. But what if the request is
> in https? Would varnish pass it to the backend or just drop it?

It would not be a normal HTTP request, so Varnish would not try to
handle it. You could place a https to http gateway between your users
and varnish, so varnish can accelerate the http traffic. The pipeline
would look like this:

Duh Internet - https2http gw - varnish - http server

--
Stig Sandbeck Mathisen, Linpro
Varnish and HTTPS [ In reply to ]
Thanks for the info but I did just wondered if varnish pass it to the backend or if it drops the request. I did some tests and it seems like it passes the request to the backend.

BTW, what program may I use to have https2http? Isn't https encrypted?

/ Erik

Original Message -----------------------
Erik <duja at torlen.net> writes:

> I know that Varnish doesn't handle https. But what if the request is
> in https? Would varnish pass it to the backend or just drop it?

It would not be a normal HTTP request, so Varnish would not try to
handle it. You could place a https to http gateway between your users
and varnish, so varnish can accelerate the http traffic. The pipeline
would look like this:

Duh Internet - https2http gw - varnish - http server

--
Stig Sandbeck Mathisen, Linpro
Varnish and HTTPS [ In reply to ]
Hello all,
is https handling planned somewhere in the roadmap ?
thanks,

Stig Sandbeck Mathisen writes:
> Erik <duja at torlen.net> writes:
>
> > I know that Varnish doesn't handle https. But what if the request is
> > in https? Would varnish pass it to the backend or just drop it?
>
> It would not be a normal HTTP request, so Varnish would not try to
> handle it. You could place a https to http gateway between your users
> and varnish, so varnish can accelerate the http traffic. The pipeline
> would look like this:
>
> Duh Internet - https2http gw - varnish - http server
>
> --
> Stig Sandbeck Mathisen, Linpro
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
Varnish and HTTPS [ In reply to ]
You could use pound as an HTTPS front-end for varnish (or anything else too).

http://www.apsis.ch/pound/

It works quite well. I believe that Slashdot uses it as thier HTTP front-end.

On 12/4/07, Erik <duja at torlen.net> wrote:
> Thanks for the info but I did just wondered if varnish pass it to the backend or if it drops the request. I did some tests and it seems like it passes the request to the backend.
>
> BTW, what program may I use to have https2http? Isn't https encrypted?
>
> / Erik
>
> Original Message -----------------------
> Erik <duja at torlen.net> writes:
>
> > I know that Varnish doesn't handle https. But what if the request is
> > in https? Would varnish pass it to the backend or just drop it?
>
> It would not be a normal HTTP request, so Varnish would not try to
> handle it. You could place a https to http gateway between your users
> and varnish, so varnish can accelerate the http traffic. The pipeline
> would look like this:
>
> Duh Internet - https2http gw - varnish - http server
>
> --
> Stig Sandbeck Mathisen, Linpro
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
Varnish and HTTPS [ In reply to ]
Erik <duja at torlen.net> writes:

> Thanks for the info but I did just wondered if varnish pass it to
> the backend or if it drops the request. I did some tests and it
> seems like it passes the request to the backend.
>
> BTW, what program may I use to have https2http? Isn't https
> encrypted?

This is already answered in http://varnish.projects.linpro.no/wiki/FAQ

--
Stig Sandbeck Mathisen, Linpro