diff options
-rw-r--r-- | config/haproxy/haproxy.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 0dcacab3..d65c2684 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -150,11 +150,11 @@ function haproxy_configure() { // https is an alias for tcp for clarity purpouses if($backend['type'] == "https") - $backend = "tcp"; + $backend_type = "tcp"; else - $backend = $backend['type']; + $backend_type = $backend['type']; - fwrite ($fd, "\tmode\t\t\t" . $backend . "\n"); + fwrite ($fd, "\tmode\t\t\t" . $backend_type . "\n"); fwrite ($fd, "\tlog\t\t\tglobal\n"); fwrite ($fd, "\toption\t\t\tdontlognull\n"); fwrite ($fd, "\toption\t\t\thttpclose\n"); |