2024-09-27 14:25:51 +00:00
|
|
|
{
|
|
|
|
services.nginx.enable = true;
|
|
|
|
systemd.services.nginx.serviceConfig.ProtectHome = false;
|
|
|
|
services.nginx.virtualHosts."stella.wolfgirl.systems" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
2024-10-01 08:40:53 +00:00
|
|
|
extraConfig = ''
|
|
|
|
charset utf-8;
|
|
|
|
'';
|
2024-09-27 14:25:51 +00:00
|
|
|
locations."~ \"^/~(.+?)(/.*)?$\"" = {
|
|
|
|
alias = "/home/$1/public_html$2";
|
|
|
|
index = "index.html";
|
|
|
|
extraConfig = ''
|
|
|
|
error_page 404 /~$1/404.html;
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2024-10-07 23:32:02 +00:00
|
|
|
services.nginx.virtualHosts."wolfgirl.systems" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/home/azriel/wolfgirl.systems/book";
|
|
|
|
};
|
2024-10-05 04:31:48 +00:00
|
|
|
services.nginx.virtualHosts."bun-e.fyi" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/home/6a/public_html";
|
|
|
|
locations."/".index = "e.html";
|
|
|
|
extraConfig = ''
|
|
|
|
charset utf-8;
|
|
|
|
'';
|
|
|
|
};
|
2024-09-27 14:25:51 +00:00
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults.email = "me@ezri.pet";
|
|
|
|
};
|
|
|
|
}
|