Revert "Use http for all backend requests"
[chef.git] / 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 -%>