2024-05-22 10:56:03 +00:00
|
|
|
{ inputs, ... }: {
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts = {
|
|
|
|
"cherrykitten.dev" = {
|
2024-06-11 09:56:41 +00:00
|
|
|
extraConfig = "error_page 404 /404.html;";
|
2024-06-17 07:38:42 +00:00
|
|
|
addSSL = true;
|
2024-05-22 10:56:03 +00:00
|
|
|
enableACME = true;
|
|
|
|
locations = {
|
|
|
|
"/" = {
|
|
|
|
root = "${inputs.cherrykitten-website.packages.x86_64-linux.website}/var/www/cherrykitten.dev";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|