# 
#   HttpCaller settings
#

#
#   Generic, controls how many instances are running and where to write the logs
#   and which user-agent to use for the calls
#
max-instances:              1
lockfile:                   /tmp/httpcaller.txt
webserver:                  8083
log:                        /dev/stderr
user-agent:

#
#   RabbitMQ settins, where are messages coming from and published to.
#   Special setting is the overflow-queues: whether messages are moves to
#   dedicated queues when the capacity for one domain has been reached.
#
rabbit-address:             amqp://guest:guest@localhost/
rabbit-api:                 http://guest:guest@localhost:15672
rabbit-queue:               httpcallerinput
rabbit-exchange:            httpcaller
rabbit-routingkey-delayed:  delayed
rabbit-routingkey-failure:  failure
rabbit-routingkey-success:  success
rabbit-overflow-queues:     true

#
#   HTTP settings, max total number of outgoing connections, max per host (can
#   be overridden on a per-message base), timeout for calls, time how long a
#   a host is considered offline without retrying, time to keep unused 
#   connections open (waiting for more calls), and max number of times to retry.
#
max-outgoing-connections:   1000
max-host-connections:       10
timeout:                    5.0
offline-ttl:                900
connection-keepalive:       1.0
max-retry-attempts:         10

#
#   Prevent calls to internal endpoints
#
ip-blacklist:               192.168.0.0/16,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12
ip-whitelist:

#
#   Signing outgoing calls. This should be the path to a file where a private
#   key is stored in PEM format, the identifier of the key as it will be 
#   mentioned in the signatures, and a comma-separated list of headers that
#   are to be signed. You can use wildcards like * and ? in the headers-array.
#   The settings below are ignored if there is a "sign" property in the json
#   with this info.
#
private-key:                
key-id:
headers:                    *

#
#   DNS settings (ip address of the nameserver, size of the buffer in the 
#   resolver, timeout for lookups, interval between attempts, number of attempts 
#   per query, max simul operations, whether nameservers should be rotated).
#   These settings are only relevant for locating webhooks (the address of the
#   RabbitMQ server is resolved using the default system resolver).
#
dns-server:
dns-buffersize:             0
dns-timeout:                60.0
dns-interval:               2.0
dns-attempts:               5
dns-capacity:               100
dns-rotate:                 false
