fix nginx

This commit is contained in:
Ellie 2026-03-10 19:17:44 -07:00
parent 0885fdbfdd
commit b48e7ebb13
4 changed files with 24 additions and 25 deletions

View file

@ -1,22 +1,13 @@
{ ... }:
{
services.nginx = {
enable = true;
services.nginx.virtualHosts."ellie.town" = {
enableACME = true;
forceSSL = true;
root = "/var/www/blog";
virtualHosts."ellie.town" = {
enableACME = true;
forceSSL = true;
root = "/var/www/blog";
locations."/" = {
index = "index.html";
};
locations."/" = {
index = "index.html";
};
};
security.acme = {
acceptTerms = true;
defaults.email = "contact@elliehigh.com";
};
}