www.joygnu.org
This commit is contained in:
parent
4b0c7053f8
commit
a4acaac229
|
@ -14,5 +14,6 @@
|
||||||
../../modules/services/forgejo
|
../../modules/services/forgejo
|
||||||
../../modules/services/syncthing
|
../../modules/services/syncthing
|
||||||
../../modules/services/immich
|
../../modules/services/immich
|
||||||
|
../../modules/services/nginx
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
12
modules/services/nginx/default.nix
Normal file
12
modules/services/nginx/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
services.nginx = {
|
||||||
|
virtualHosts."www.joygnu.org" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = "/var/www/www.joygnu.org";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
security.acme.certs = {
|
||||||
|
"www.joygnu.org".email = "contact@joygnu.org";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue