diff options
author | Arun Isaac | 2023-08-10 15:16:32 +0100 |
---|---|---|
committer | Arun Isaac | 2023-08-10 16:52:24 +0100 |
commit | a3e084ec9c640da649dd35e991e9e5f343fcd1e2 (patch) | |
tree | 7acbd46bb289751eb3ef65ec35a75b74c52b6722 /nginx-preread.scm | |
parent | 2f5329cea2a3c0b62373279114e207568e2820b6 (diff) | |
download | gn-machines-a3e084ec9c640da649dd35e991e9e5f343fcd1e2.tar.gz |
Add nginx package with the ssl_preread module.
* nginx-preread.scm, nginx-preread-deploy.sh: New files.
Diffstat (limited to 'nginx-preread.scm')
-rw-r--r-- | nginx-preread.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nginx-preread.scm b/nginx-preread.scm new file mode 100644 index 0000000..9b48024 --- /dev/null +++ b/nginx-preread.scm @@ -0,0 +1,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))))) |