Debian Codegraph @

debian/patches/example_config

raw
1 --- a/hitch.conf.man.rst
2 +++ b/hitch.conf.man.rst
3 @@ -531,17 +531,13 @@ The following file shows the syntax need
4 port = "443"
5 }
6 backend = "[127.0.0.1]:6086" # 6086 is the default Varnish PROXY port.
7 - workers = 4 # number of CPU cores
8 -
9 - daemon = on
10 -
11 - # We strongly recommend you create a separate non-privileged hitch
12 - # user and group
13 - user = "hitch"
14 - group = "hitch"
15 + workers = auto # number of CPU cores
16
17 # Enable to let clients negotiate HTTP/2 with ALPN. (default off)
18 - # alpn-protos = "h2, http/1.1"
19 + alpn-protos = "h2, http/1.1"
20 +
21 + # Load the TLS certificates+keys from *.pem files in this directory.
22 + pem-dir = "/etc/hitch/cert.d"
23
24 # run Varnish as backend over PROXY; varnishd -a :80 -a localhost:6086,PROXY ..
25 write-proxy-v2 = on # Write PROXY header