style: remove redundancy in nginx config template
This commit is contained in:
parent
95f9e00bb1
commit
c87148b911
1 changed files with 6 additions and 8 deletions
|
|
@ -16,8 +16,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# reverse proxy
|
# reverse proxy
|
||||||
nginx = {
|
nginx.virtualHosts."${feature}.fi33.buzz" = {
|
||||||
virtualHosts."${feature}.fi33.buzz" = {
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "fi33.buzz";
|
useACMEHost = "fi33.buzz";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
|
|
@ -27,7 +26,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue