summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-11-09 22:44:18 +0100
committerJulien Lepiller <julien@lepiller.eu>2020-11-09 22:53:50 +0100
commit86e9e5cb230c3c10272a223ea04e7564f3c1463b (patch)
tree4f9645c39a4d08635f8c2a87cae546c001ddef2b /gnu
parentad2c3ba7504e34bc00808b2dc7d4df5e773f4ffd (diff)
downloadguix-86e9e5cb230c3c10272a223ea04e7564f3c1463b.tar.gz
services: nginx: Re-introduce server-names-hash-bucket-size.
This was unintentionally removed in
00014f769233facebd84f13a00b10032a22cb440.

* gnu/services/web.scm (default-nginx-config): Re-introduce processing
of server-names-hash-bucket-size option.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/web.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 7e17dac6e2..53858436fa 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -668,6 +668,12 @@ of index files."
                                            '#$lua-package-cpath)
                                       ";"))
                "")
+           (if server-names-hash-bucket-size
+               (string-append
+                 "    server_names_hash_bucket_size "
+                 (number->string server-names-hash-bucket-size)
+                 ";\n")
+               "")
            (if server-names-hash-bucket-max-size
                (string-append
                 "    server_names_hash_bucket_max_size "