* Top-level redirect to the repoman.
svn path=/nixos/trunk/; revision=10758
This commit is contained in:
parent
20881fe84b
commit
5d2435d460
1 changed files with 15 additions and 0 deletions
|
@ -301,6 +301,12 @@ in {
|
|||
${distConfig}
|
||||
|
||||
${staticFilesConfig}
|
||||
|
||||
${if config.toplevelRedirect then ''
|
||||
<Location />
|
||||
DirectoryIndex repoman
|
||||
</Location>
|
||||
'' else ""}
|
||||
|
||||
'';
|
||||
|
||||
|
@ -341,6 +347,15 @@ in {
|
|||
";
|
||||
};
|
||||
|
||||
toplevelRedirect = mkOption {
|
||||
default = true;
|
||||
description = "
|
||||
Whether <varname>urlPrefix</varname> without any suffix
|
||||
(except a slash) should redirect to
|
||||
<varname>urlPrefix</varname><literal>/repoman</literal>.
|
||||
";
|
||||
};
|
||||
|
||||
notificationSender = mkOption {
|
||||
default = "svn-server@example.org";
|
||||
example = "svn-server@example.org";
|
||||
|
|
Loading…
Reference in a new issue