* Top-level redirect to the repoman.
svn path=/nixos/trunk/; revision=10758
This commit is contained in:
parent
20881fe84b
commit
5d2435d460
@ -302,6 +302,12 @@ in {
|
|||||||
|
|
||||||
${staticFilesConfig}
|
${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 {
|
notificationSender = mkOption {
|
||||||
default = "svn-server@example.org";
|
default = "svn-server@example.org";
|
||||||
example = "svn-server@example.org";
|
example = "svn-server@example.org";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user