Changeset 370


Ignore:
Timestamp:
Mar 18, 2010, 5:21:15 PM (11 years ago)
Author:
lucas
Message:

ror-build-haproxy: default backend is hostname, since haproxy runs on the root server hosting the admin rorette

Location:
ror-farm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ror-farm/haproxy/haproxy.cfg.tmpl

    r368 r370  
    3636}
    3737}
    38     default_backend front1
     38    default_backend $default_backend
    3939## End vhosts list
    4040
  • ror-farm/ror-build-haproxy

    r369 r370  
    6060`cp $haproxy_cfg $haproxy_cfg.old`;
    6161
    62 my $params = {rorettes => \%rorettes, now => $now};
     62my $params = {rorettes => \%rorettes, now => $now, default_backend => $my_hostname};
    6363
    6464my $config = $template->fill_in(HASH => $params);
Note: See TracChangeset for help on using the changeset viewer.