services/nginx: add website
This commit is contained in:
parent
a0e4da2fd0
commit
4b2c36b00f
3 changed files with 23 additions and 5 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue