nginx: Add alias configuration option for hosts and locations.
It's like root, but doesn't keep the prefix.
This commit is contained in:
@@ -45,6 +45,15 @@ with lib;
|
||||
'';
|
||||
};
|
||||
|
||||
alias = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
example = "/your/alias/directory";
|
||||
description = ''
|
||||
Alias directory for requests.
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
type = types.lines;
|
||||
default = "";
|
||||
|
||||
Reference in New Issue
Block a user