Skip to content

Commit

Permalink
Revert "mediawiki: use sticky sessions for haproxy (#4186)"
Browse files Browse the repository at this point in the history
This reverts commit 71b303d.
  • Loading branch information
paladox committed Feb 13, 2025
1 parent 2719b86 commit 2eb4649
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions modules/role/templates/jobrunner_haproxy/lb.cfg.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ listen jobrunner
bind :9007
bind :::9007
balance roundrobin
cookie SERVER insert indirect nocache
<%- @backends.each_pair do | name, property | -%>
<%- if property['depool'] != true-%>
server <%= name %> <%= property['ip'] %>:<%= property['port'] %> ssl verify none check cookie <%= name %>
server <%= name %> <%= property['ip'] %>:<%= property['port'] %> ssl verify none check
<%- end -%>
<%- end -%>
http-request set-header Host jobrunner.wikitide.net
Expand All @@ -27,10 +26,9 @@ listen jobrunner_high
bind :9008
bind :::9008
balance roundrobin
cookie SERVER insert indirect nocache
<%- @backends.each_pair do | name, property | -%>
<%- if property['depool'] != true -%>
server <%= name %> <%= property['ip'] %>:<%= property['port'] %> ssl verify none check cookie <%= name %>
server <%= name %> <%= property['ip'] %>:<%= property['port'] %> ssl verify none check
<%- end -%>
<%- end -%>
http-request set-header Host jobrunner-high.wikitide.net
Expand All @@ -44,10 +42,9 @@ listen videoscaler
bind :9009
bind :::9009
balance roundrobin
cookie SERVER insert indirect nocache
<%- @backends.each_pair do | name, property | -%>
<%- if property['depool'] != true -%>
server <%= name %> <%= property['ip'] %>:<%= property['port'] %> ssl verify none check cookie <%= name %>
server <%= name %> <%= property['ip'] %>:<%= property['port'] %> ssl verify none check
<%- end -%>
<%- end -%>
http-request set-header Host videoscaler.wikitide.net

0 comments on commit 2eb4649

Please sign in to comment.