hitch.conf 721 B

1234567891011121314151617181920212223242526272829303132
  1. # Run 'man hitch.conf' for a description of all options.
  2. frontend = {
  3. host = "*"
  4. port = "443"
  5. }
  6. backend = "[127.0.0.1]:8443"
  7. workers = 4 # number of CPU cores
  8. daemon = on
  9. # We strongly recommend you create a separate non-privileged hitch
  10. # user and group
  11. user = "hitch"
  12. group = "hitch"
  13. # Enable to let clients negotiate HTTP/2 with ALPN. (default off)
  14. # alpn-protos = "h2, http/1.1"
  15. # run Varnish as backend over PROXY; varnishd -a :80 -a localhost:6086,PROXY ..
  16. write-proxy-v2 = on # Write PROXY header
  17. ## ssl config
  18. pem-dir = "/etc/tls/private"
  19. tls-protos = TLSv1.2 TLSv1.3
  20. # ocsp
  21. ocsp-dir = "/etc/hitch/ocsp"
  22. ocsp-verify-staple = on
  23. syslog = on
  24. log-level = 1
  25. tcp-fastopen = on