summary refs log tree commit diff
path: root/nixos/modules/services/web-servers
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-10-10 20:04:56 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-10-10 20:14:38 +0200
commitd26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5 (patch)
treedac3935883504e3b6efc35d7d786bde00f3108e2 /nixos/modules/services/web-servers
parentaeeac71231f5ca103eb484815130a864fc571d64 (diff)
downloadnixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.tar
nixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.tar.gz
nixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.tar.bz2
nixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.tar.lz
nixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.tar.xz
nixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.tar.zst
nixlib-d26f8b5e00b4a436ec8f9b7fb1b55a0dbda440c5.zip
nixos/lighttpd: add missing modules to allKnownModules
The output of ./configure shows all modules/plugins, both enabled and
disabled. With this info we can finally build the _complete_ list of
modules. We were missing these:

  mod_authn_gssapi
  mod_authn_ldap
  mod_geoip

(I hit this as I was building lighttpd with ldap support and the NixOS
module said ldap was unsupported, due to these missing entries in
allKnownModules.)
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r--nixos/modules/services/web-servers/lighttpd/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/lighttpd/default.nix b/nixos/modules/services/web-servers/lighttpd/default.nix
index 45a65965112a..700b4469c565 100644
--- a/nixos/modules/services/web-servers/lighttpd/default.nix
+++ b/nixos/modules/services/web-servers/lighttpd/default.nix
@@ -15,7 +15,8 @@ let
   # Some modules are always imported and should not appear in the config:
   # disallowedModules = [ "mod_indexfile" "mod_dirlisting" "mod_staticfile" ];
   #
-  # Get full module list: "ls -1 $lighttpd/lib/*.so"
+  # For full module list, see the output of running ./configure in the lighttpd
+  # source.
   allKnownModules = [
     "mod_rewrite"
     "mod_redirect"
@@ -38,12 +39,15 @@ let
     "mod_accesslog"
     # Remaining list of modules, order assumed to be unimportant.
     "mod_authn_file"
+    "mod_authn_gssapi"
+    "mod_authn_ldap"
     "mod_authn_mysql"
     "mod_cml"
     "mod_deflate"
     "mod_evasive"
     "mod_extforward"
     "mod_flv_streaming"
+    "mod_geoip"
     "mod_magnet"
     "mod_mysql_vhost"
     "mod_scgi"