22 lines
339 B
Nix
22 lines
339 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.nginx = {
|
|
enable = true;
|
|
|
|
virtualHosts."ellie.town" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
root = "/var/www/blog";
|
|
|
|
locations."/" = {
|
|
index = "index.html";
|
|
};
|
|
};
|
|
};
|
|
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "contact@elliehigh.com";
|
|
};
|
|
}
|