2022-08-11 02:57:40 +03:00
|
|
|
{inputs, ...}: {
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
};
|
2023-05-08 23:09:44 +03:00
|
|
|
|
|
|
|
users.users.nginx.extraGroups = ["acme"];
|
|
|
|
|
2022-08-11 02:57:40 +03:00
|
|
|
security.acme = {
|
|
|
|
acceptTerms = true;
|
|
|
|
defaults.email = (import "${inputs.self}/personal.nix").emails.primary;
|
2023-05-08 23:09:44 +03:00
|
|
|
certs."gaze.systems" = {
|
|
|
|
webroot = "/var/lib/acme/acme-challenge";
|
|
|
|
extraDomainNames = [
|
|
|
|
"git.gaze.systems"
|
|
|
|
"ms.gaze.systems"
|
|
|
|
"mq.gaze.systems"
|
2023-09-10 21:40:39 +03:00
|
|
|
"couchdb.gaze.systems"
|
2024-01-14 22:05:39 +03:00
|
|
|
"doc.gaze.systems"
|
2024-09-26 17:19:15 +03:00
|
|
|
"limbus.gaze.systems"
|
2023-05-08 23:09:44 +03:00
|
|
|
];
|
|
|
|
};
|
2022-08-11 02:57:40 +03:00
|
|
|
};
|
|
|
|
}
|