# Run 'man hitch.conf' for a description of all options.


frontend = {
    host = "*"
    port = "443"
}
backend = "[127.0.0.1]:6086"    # 6086 is the default Varnish PROXY port.
workers = auto                  # number of CPU cores

# Enable to let clients negotiate HTTP/2 with ALPN. (default off)
alpn-protos = "h2, http/1.1"

# Load the TLS certificates+keys from *.pem files in this directory.
pem-dir = "/etc/hitch/cert.d"

# run Varnish as backend over PROXY; varnishd -a :80 -a localhost:6086,PROXY ..
write-proxy-v2 = on             # Write PROXY header


