sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sks-devel] HAproxy for reverse proxy


From: Dinko Korunic
Subject: [Sks-devel] HAproxy for reverse proxy
Date: Sat, 08 Mar 2014 22:13:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Hi,

If anybody is interested in how to use HAproxy for reverse proxying HKP
(which seems to become mandatory to be able to participate in
pool.sks-keyservers.net) instead of Apache, Lighttpd or Nginx, I'm
pasting a simple conf that should get you started:

global
        daemon
        maxconn 256

defaults
        mode http
        maxconn 256
        timeout client 60s
        timeout server 60s
        timeout queue 60s
        timeout connect 4s
        timeout http-request 5s
        option http-server-close
        retries 3

listen hkp 161.53.2.219:11371
        mode http
        http-response set-header Via 1.1\ pks.aaiedu.hr:11371\ (HAproxy)
        server sks1 127.0.0.1:11371 maxconn 256

listen stats 127.0.0.1:8888
        stats uri /

Let me know if you have any questions regarding this. Of course, this
requires sks to have the following line in sksconf:

hkp_address: 127.0.0.1


Kind regards,
D.

-- 
NAME:Dinko.kreator.Korunic   DISCLAIMER:Standard.disclaimer.applies
ICQ:16965294        JAB:address@hidden        PGP:0xEA160D0B
HOME:http://dkorunic.net    QUOTE:Eat.right.stay.fit.and.die.anyway



reply via email to

[Prev in Thread] Current Thread [Next in Thread]