Revert to commit c2efb19
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 17s
Flake check / flake-check (pull_request) Successful in 17s

This commit is contained in:
sid 2026-05-05 13:32:31 +02:00
parent aebbc5767e
commit 0533dfeb6d
3 changed files with 4 additions and 42 deletions

View file

@ -13,18 +13,6 @@ in
inputs.synix.nixosModules.nginx
];
security.acme = {
certs."sid-internal" = {
domain = constants.services.vaultwarden.fqdn;
extraDomainNames = [
constants.services.netdata.fqdn
constants.services.webdav.fqdn
];
server = "https://${constants.ca-fqdn}:8443/acme/acme/directory";
group = "nginx";
};
};
systemd.tmpfiles.rules = [
"d /var/www 0755 gitea-runner ${cfg.group} -"
];
@ -35,7 +23,7 @@ in
services.nginx = {
enable = true;
openFirewall = true;
openFirewall = false;
forceSSL = false;
virtualHosts = {
@ -44,31 +32,6 @@ in
root = "/var/www/doc";
};
};
"${constants.services.netdata.fqdn}" = {
forceSSL = true;
useACMEHost = "sid-internal";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}";
proxyWebsockets = true;
};
};
"${constants.services.vaultwarden.fqdn}" = {
forceSSL = true;
useACMEHost = "sid-internal";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString constants.services.vaultwarden.port}";
};
};
"${constants.services.webdav.fqdn}" = {
forceSSL = true;
useACMEHost = "sid-internal";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString constants.services.webdav.port}";
proxyWebsockets = true;
};
};
};
};
}