<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.skytech.dk/index.php?action=history&amp;feed=atom&amp;title=Varnish_ssl</id>
	<title>Varnish ssl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.skytech.dk/index.php?action=history&amp;feed=atom&amp;title=Varnish_ssl"/>
	<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Varnish_ssl&amp;action=history"/>
	<updated>2026-05-01T16:50:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.skytech.dk/index.php?title=Varnish_ssl&amp;diff=1828&amp;oldid=prev</id>
		<title>Martin: Created page with &quot;Category:Linux  = Varnish SSL = If you just want roundrobin ssl forwards to your ssl servers (with no ssl residing on the varnish cache) - we just create a wrapper to that po…&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Varnish_ssl&amp;diff=1828&amp;oldid=prev"/>
		<updated>2012-03-25T18:16:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:Linux&quot; title=&quot;Category:Linux&quot;&gt;Category:Linux&lt;/a&gt;  = Varnish SSL = If you just want roundrobin ssl forwards to your ssl servers (with no ssl residing on the varnish cache) - we just create a wrapper to that po…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Linux]]&lt;br /&gt;
&lt;br /&gt;
= Varnish SSL =&lt;br /&gt;
If you just want roundrobin ssl forwards to your ssl servers (with no ssl residing on the varnish cache) - we just create a wrapper to that port:&lt;br /&gt;
&lt;br /&gt;
Source: http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Define the list of backends (web servers).&lt;br /&gt;
# Port 80 Backend Servers&lt;br /&gt;
backend web1 { .host = &amp;quot;192.10.0.1&amp;quot;; .probe = { .url = &amp;quot;/status.php&amp;quot;; .interval = 5s; .timeout = 1s; .window = 5;.threshold = 3; }}&lt;br /&gt;
backend web2 { .host = &amp;quot;192.10.0.2&amp;quot;; .probe = { .url = &amp;quot;/status.php&amp;quot;; .interval = 5s; .timeout = 1s; .window = 5;.threshold = 3; }}&lt;br /&gt;
&lt;br /&gt;
# Port 443 Backend Servers for SSL&lt;br /&gt;
backend web1_ssl { .host = &amp;quot;192.10.0.1&amp;quot;; .port = &amp;quot;443&amp;quot;; .probe = { .url = &amp;quot;/status.php&amp;quot;; .interval = 5s; .timeout = 1 s; .window = 5;.threshold = 3; }}&lt;br /&gt;
backend web2_ssl { .host = &amp;quot;192.10.0.2&amp;quot;; .port = &amp;quot;443&amp;quot;; .probe = { .url = &amp;quot;/status.php&amp;quot;; .interval = 5s; .timeout = 1 s; .window = 5;.threshold = 3; }}&lt;br /&gt;
&lt;br /&gt;
# Define the director that determines how to distribute incoming requests.&lt;br /&gt;
director default_director round-robin {&lt;br /&gt;
  { .backend = web1; }&lt;br /&gt;
  { .backend = web2; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
director ssl_director round-robin {&lt;br /&gt;
  { .backend = web1_ssl; }&lt;br /&gt;
  { .backend = web2_ssl; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# Respond to incoming requests.&lt;br /&gt;
sub vcl_recv {&lt;br /&gt;
  # Set the director to cycle between web servers.&lt;br /&gt;
  if (server.port == 443) {&lt;br /&gt;
    set req.backend = ssl_director;&lt;br /&gt;
  }&lt;br /&gt;
  else {&lt;br /&gt;
   set req.backend = default_director;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>