services/nginx: add website

This commit is contained in:
LavaDesu 2022-02-14 18:34:46 +07:00
parent a0e4da2fd0
commit 4b2c36b00f
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 23 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ ... }: {
{ inputs, ... }: {
security.acme.acceptTerms = true;
security.acme.email = "me@lava.moe";
services.nginx = {
@ -12,10 +12,7 @@
"lava.moe" = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
return 404;
'';
root = inputs.website.outPath;
};
};
};