website: very crude first attempt
This commit is contained in:
parent
1110225de2
commit
accb3e70e4
1 changed files with 3 additions and 2 deletions
|
@ -79,7 +79,8 @@ in
|
|||
useACMEHost = mkIf cfg.enableAcme domainName;
|
||||
|
||||
locations."/" = {
|
||||
return = ./index.html;
|
||||
root = /var/www/website;
|
||||
index = "index.html";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -88,7 +89,7 @@ in
|
|||
useACMEHost = mkIf cfg.enableAcme domainName;
|
||||
|
||||
locations."/" = {
|
||||
return = "404";
|
||||
proxyPass = "https://${domainName}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue