nginx module: add option to make vhost default

This commit is contained in:
Robin Gloster 2016-04-03 10:58:34 +00:00
parent 138945500e
commit 3830a890ab
2 changed files with 12 additions and 3 deletions

View file

@ -80,6 +80,14 @@ with lib;
'';
};
default = mkOption {
type = types.bool;
default = false;
description = ''
Makes this vhost the default.
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";