services: nginx: Re-introduce server-names-hash-bucket-size.

This was unintentionally removed in
00014f7692.

* gnu/services/web.scm (default-nginx-config): Re-introduce processing
of server-names-hash-bucket-size option.
This commit is contained in:
Julien Lepiller 2020-11-09 22:44:18 +01:00
parent ad2c3ba750
commit 86e9e5cb23
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -668,6 +668,12 @@ (define (default-nginx-config config)
'#$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 "