Revert "Use http for all backend requests"
authorTom Hughes <tom@compton.nu>
Fri, 29 Aug 2014 15:16:10 +0000 (16:16 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 29 Aug 2014 15:16:10 +0000 (16:16 +0100)
This reverts commit b7579691793f64a2cc7fd86930ed33ffcde88b98.

cookbooks/web/templates/default/apache.frontend.erb

index bcb9af00568e850a9b3a77597f61b0b7f08253e2..9426be81a7c22fe754052bd82d94fc233c35d868 100644 (file)
   #
   <Proxy balancer://backend>
     ProxySet lbmethod=bybusyness
+<% if port == 443 -%>
+    BalancerMember https://rails1
+    BalancerMember https://rails2
+    BalancerMember https://rails3
+<% else -%>
     BalancerMember http://rails1
     BalancerMember http://rails2
     BalancerMember http://rails3
+<% end -%>
   </Proxy>
 <% if port == 80 -%>