1
					Technical Support & Development / Re: Linux Connection Throttler/SSL proxy for Poloniex
« on: June 25, 2017, 01:16:57 PM »
					Some slight tweaks.
#1 - use localhost instead of adapter's IP
#2 - use both polo servers on the backend.
New Config
New /etc/hosts entry
				#1 - use localhost instead of adapter's IP
#2 - use both polo servers on the backend.
New Config
Code: [Select]
global
   maxconn 4096
   user haproxy
   group haproxy
   pidfile     /run/haproxy.pid
   daemon
defaults
   mode  http
   option   httplog
   option   dontlognull
   retries  3
   option redispatch
   maxconn  2000
   timeout connect 10000
   timeout server 50000
   timeout client 50000
listen HAProxy-Statistics
    bind :3306
    mode http
    option httplog
    option httpclose
    stats enable
    stats uri /haproxy?stats
    stats refresh 20s
    stats show-node
    stats show-legends
    stats show-desc Workaround haproxy for SSL
    stats auth admin:nimda
frontend ssl_relay
    bind 127.0.0.1:443
    mode tcp
    option tcplog
    option socket-stats
    maxconn  3
    default_backend ssl_polo
backend ssl_polo
   mode tcp
   option tcplog
   balance roundrobin
   hash-type consistent
   server x_polo 104.20.12.48:443
   server x_polo2 104.20.13.48:443
New /etc/hosts entry
Code: [Select]
127.0.0.1       poloniex.com
					
					