aboutsummaryrefslogtreecommitdiff
path: root/nginx-preread.scm
blob: 9b480243c686acfc54a7f672640dd70e6889118a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; nginx package that has the ssl_preread module compiled in. We use
;; this on tux02 to pass HTTPS to containers without terminating TLS.

(use-modules ((gnu packages web) #:select (nginx))
             (guix gexp)
             (guix packages)
             (guix utils))

(package
  (inherit nginx)
  (arguments
   (substitute-keyword-arguments (package-arguments nginx)
     ((#:configure-flags flags '())
      #~(cons "--with-stream_ssl_preread_module"
              #$flags)))))