summary refs log tree commit diff
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:48:02 +0100
commitacb9f7849f7f9c2fb22585f45efaaa8ea397dd70 (patch)
tree68b79d8208ba107e7df1ff8ef777d0c17f7cf510
parent75a5bdbc988959750afc8ba5bfbfce7b0105131e (diff)
downloadguix-acb9f7849f7f9c2fb22585f45efaaa8ea397dd70.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.
-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 "