add notenrechner website
This commit is contained in:
parent
7aa9df065d
commit
cca6385ce8
4 changed files with 69 additions and 1 deletions
|
@ -12,5 +12,6 @@
|
|||
./userdir.nix
|
||||
./ftp.nix
|
||||
./hyperilo.nix
|
||||
./notenrechner.nix
|
||||
];
|
||||
}
|
||||
|
|
9
modules/web/notenrechner.nix
Normal file
9
modules/web/notenrechner.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, specialArgs, ... }: let
|
||||
domain = "notenrechner.${config.networking.domain}";
|
||||
in {
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = specialArgs.notenrechner.packages."x86_64-linux".default;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue