X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b7579691793f64a2cc7fd86930ed33ffcde88b98..229bfd4d1ef647515f13b6e8e064a957881f2ca7:/cookbooks/web/templates/default/apache.frontend.erb?ds=inline
diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb
index d82b7e1da..ef06eeb83 100644
--- a/cookbooks/web/templates/default/apache.frontend.erb
+++ b/cookbooks/web/templates/default/apache.frontend.erb
@@ -193,9 +193,15 @@
#
ProxySet lbmethod=bybusyness
+<% if port == 443 -%>
+ BalancerMember https://rails1 disablereuse=on
+ BalancerMember https://rails2 disablereuse=on
+ BalancerMember https://rails3 disablereuse=on
+<% else -%>
BalancerMember http://rails1
BalancerMember http://rails2
BalancerMember http://rails3
+<% end -%>
<% if port == 80 -%>
@@ -298,7 +304,6 @@
RedirectPermanent /events.ics http://calendar.openstreetmap.org.uk/events.ics
RedirectPermanent / http://www.openstreetmap.org/
-<% if node[:lsb][:release].to_f >= 14.04 -%>
/rails/public>
Require all granted
@@ -323,4 +328,3 @@
Require all granted
-<% end -%>