whitespace cleanup

This commit is contained in:
Jeremy Hinegardner 2011-02-27 21:55:06 -07:00
parent 3efec8673e
commit a415cbbaa1

View File

@ -12,18 +12,18 @@
global global
# to have these messages end up in /var/log/haproxy.log you will # to have these messages end up in /var/log/haproxy.log you will
# need to: # need to:
# #
# 1) configure syslog to accept network log events. This is done # 1) configure syslog to accept network log events. This is done
# by adding the '-r' option to the SYSLOGD_OPTIONS in # by adding the '-r' option to the SYSLOGD_OPTIONS in
# /etc/sysconfig/syslog # /etc/sysconfig/syslog
# #
# 2) configure local2 events to go to the /var/log/haproxy.log # 2) configure local2 events to go to the /var/log/haproxy.log
# file. A line like the following can be added to # file. A line like the following can be added to
# /etc/sysconfig/syslog # /etc/sysconfig/syslog
# #
# local2.* /var/log/haproxy.log # local2.* /var/log/haproxy.log
# #
log 127.0.0.1 local2 log 127.0.0.1 local2
chroot /var/lib/haproxy chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid pidfile /var/run/haproxy.pid
@ -36,7 +36,7 @@ global
stats socket /var/lib/haproxy/stats stats socket /var/lib/haproxy/stats
#--------------------------------------------------------------------- #---------------------------------------------------------------------
# common defaults that all the 'listen' and 'backend' sections will # common defaults that all the 'listen' and 'backend' sections will
# use if not designated in their block # use if not designated in their block
#--------------------------------------------------------------------- #---------------------------------------------------------------------
defaults defaults
@ -63,10 +63,10 @@ defaults
frontend main *:5000 frontend main *:5000
acl url_static path_beg -i /static /images /javascript /stylesheets acl url_static path_beg -i /static /images /javascript /stylesheets
acl url_static path_end -i .jpg .gif .png .css .js acl url_static path_end -i .jpg .gif .png .css .js
use_backend static if url_static use_backend static if url_static
default_backend app default_backend app
#--------------------------------------------------------------------- #---------------------------------------------------------------------
# static backend for serving up images, stylesheets and such # static backend for serving up images, stylesheets and such
#--------------------------------------------------------------------- #---------------------------------------------------------------------
@ -81,6 +81,6 @@ backend app
balance roundrobin balance roundrobin
server app1 127.0.0.1:5001 check server app1 127.0.0.1:5001 check
server app2 127.0.0.1:5002 check server app2 127.0.0.1:5002 check
server app3 127.0.0.1:5003 check server app3 127.0.0.1:5003 check
server app4 127.0.0.1:5004 check server app4 127.0.0.1:5004 check