mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
* extraDirectores -> extraConfig.
svn path=/nixos/trunk/; revision=10731
This commit is contained in:
parent
8a1d362447
commit
bbbef0f2fa
@ -55,7 +55,7 @@ let
|
||||
"cern_meta" "expires" "headers" "usertrack" /* "unique_id" */ "setenvif"
|
||||
"mime" "dav" "status" "autoindex" "asis" "info" "cgi" "dav_fs"
|
||||
"vhost_alias" "negotiation" "dir" "imagemap" "actions" "speling"
|
||||
"userdir" "alias" "rewrite"
|
||||
"userdir" "alias" "rewrite" "proxy" "proxy_http"
|
||||
] ++ optional cfg.enableSSL "ssl_module";
|
||||
|
||||
|
||||
@ -193,6 +193,8 @@ let
|
||||
}
|
||||
|
||||
${concatMapStrings (svc: svc.extraConfig) subservices}
|
||||
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
|
||||
|
||||
|
@ -61,15 +61,14 @@
|
||||
";
|
||||
};
|
||||
|
||||
# !!! this is a mis-nomer, should be "extraConfig" or something.
|
||||
extraDirectories = mkOption {
|
||||
extraConfig = mkOption {
|
||||
default = "";
|
||||
example = "
|
||||
example = ''
|
||||
<Directory /home>
|
||||
Options FollowSymlinks
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
";
|
||||
'';
|
||||
description = "
|
||||
These lines go to httpd.conf verbatim. They will go after
|
||||
directories and directory aliases defined by default.
|
||||
|
Loading…
Reference in New Issue
Block a user