Wrap text
Report abuse
global
log 127.0.0.1 local0
daemon
nbproc 1
maxconn 32000
ulimit-n 65536
defaults
log global
option tcplog
option httplog
option dontlognull
option allbackups
stats enable
stats uri /something_stats
stats refresh 10
stats auth blahblah
mode http
retries 20
option abortonclose
option redispatch
timeout connect 120s
timeout client 80s
timeout server 120s
frontend webservers *:80
reqitarpit (something\/download)
reqtarpit (121\.125\.69)
mode http
option httpclose
acl dyn_update path_beg /something/update
acl non_toxic url_sub version=1
acl dyn_fast path_beg /something/end /something/heartbeat
acl dyn_curl path_beg /something/something0 /something/start
acl dyn_other path_beg /something/something2 /something something/something3 /something4/ /something5/
acl dyn_other path /
acl mobile hdr_beg(host) -i d.
use_backend fast_mongrels if dyn_update non_toxic
use_backend fast_mongrels if dyn_curl
use_backend mongrels if dyn_fast
use_backend mongrels if dyn_other !mobile
use_backend mongrels if METH_POST
default_backend nginx
maxconn 1200
backend nginx
mode http
option httpchk HEAD /something.html
balance roundrobin
server localhost-http 127.0.0.1:8080 weight 100 check inter 10s fastinter 1s fall 3
server webapp01-http xx.x.x.x:8080 weight 10 check inter 10s fastinter 3s fall 3 backup
server webapp02-http xx.x.x.x:8080 weight 10 check inter 10s fastinter 3s fall 3 backup
server webapp04-http xx.x.x.x:8080 weight 10 check inter 10s fastinter 3s fall 2 backup