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
15
modules/web/kpp.nix
Normal file
15
modules/web/kpp.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
domain = "kpp.${config.networking.domain}";
|
||||
in
|
||||
{
|
||||
services.kpp = {
|
||||
enable = true;
|
||||
hostName = domain;
|
||||
};
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue