init
This commit is contained in:
commit
3ab713a5b3
64 changed files with 2043 additions and 0 deletions
20
hosts/abacus/static.nix
Normal file
20
hosts/abacus/static.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{config, ...}: {
|
||||
services.nginx = {
|
||||
virtualHosts = let
|
||||
inherit (config.networking) domain;
|
||||
in {
|
||||
${domain} = {
|
||||
root = "/var/www/${domain}";
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
quic = true;
|
||||
};
|
||||
"log.${domain}" = {
|
||||
root = "/var/www/log.${domain}";
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
quic = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue