Last active
August 29, 2015 14:08
-
-
Save shirk3y/0981cae879ac6e91177f to your computer and use it in GitHub Desktop.
Splash pool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull | |
timeout connect 70000ms | |
timeout client 70000ms | |
timeout server 70000ms | |
errorfile 400 /etc/haproxy/errors/400.http | |
errorfile 403 /etc/haproxy/errors/403.http | |
errorfile 408 /etc/haproxy/errors/408.http | |
errorfile 500 /etc/haproxy/errors/500.http | |
errorfile 502 /etc/haproxy/errors/502.http | |
errorfile 503 /etc/haproxy/errors/503.http | |
errorfile 504 /etc/haproxy/errors/504.http | |
frontend http-in | |
bind *:8999 | |
default_backend splashes | |
backend splashes | |
balance roundrobin | |
server splash01 127.0.0.1:8000 | |
server splash02 127.0.0.1:8001 | |
server splash03 127.0.0.1:8002 | |
server splash04 127.0.0.1:8003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:splash] | |
command=python -m splash.server --port=80%(process_num)02d --proxy-portnum=90%(process_num)02d -v 4 | |
program_name=splash | |
process_name=%(program_name)s_%(process_num)d | |
numprocs=4 | |
autostart=true | |
stdout_logfile=/var/log/splash.log | |
stderr_logfile=/var/log/splash.err |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment