diff options
author | Florian Pelz <pelzflorian@pelzflorian.de> | 2019-11-06 19:15:57 +0100 |
---|---|---|
committer | Florian Pelz <pelzflorian@pelzflorian.de> | 2019-11-07 22:15:11 +0000 |
commit | 00e680a411652e30d18839fa9ec86cf4068164de (patch) | |
tree | 74ca5c6f6e11b9455c75c800f025ddb9fe622ef4 /doc/guix.texi | |
parent | edc85fd6da7317e126f57e9d7efda5b629f6233d (diff) | |
download | guix-00e680a411652e30d18839fa9ec86cf4068164de.tar guix-00e680a411652e30d18839fa9ec86cf4068164de.tar.gz |
services: Make it possible to include dynamic modules in nginx.
* gnu/services/web.scm (<nginx-configuration>): Add modules field.
(nginx-configuration-modules): New field accessor.
(emit-load-module): New procedure.
(default-nginx-config): Add support for the modules field.
* doc/guix.texi (NGINX): Document it.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 3b8e5935bb..4df928e400 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -19765,6 +19765,17 @@ use the size of the processors cache line. @item @code{server-names-hash-bucket-max-size} (default: @code{#f}) Maximum bucket size for the server names hash tables. +@item @code{modules} (default: @code{'()}) +List of nginx dynamic modules to load. This should be a list of file +names of loadable modules, as in this example: + +@lisp +(modules + (list + (file-append nginx-accept-language-module "\ +/etc/nginx/modules/ngx_http_accept_language_module.so"))) +@end lisp + @item @code{extra-content} (default: @code{""}) Extra content for the @code{http} block. Should be string or a string valued G-expression. |