refactor: streamline all websites into one folder
This commit is contained in:
parent
71fdea75be
commit
b429e6468f
12 changed files with 17 additions and 11 deletions
14
modules/web/infoscreen.nix
Normal file
14
modules/web/infoscreen.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
domain = "infoscreen.${config.networking.domain}";
|
||||
in
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."${domain}" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
root = "/srv/web/infoscreen/dist";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue