refactor(services): standardize service module options

This commit is contained in:
tux
2026-08-07 04:56:47 +05:30
parent 82493de787
commit 7f43037522
4 changed files with 32 additions and 42 deletions

View File

@@ -43,12 +43,10 @@
nginx.virtualHosts.${cfg.domain} = {
forceSSL = true;
useACMEHost = "lab.tux.rs";
locations = {
"/" = {
proxyPass = "http://localhost:${toString cfg.port}";
proxyWebsockets = true;
};
useACMEHost = config.tnix.services.nginx.domain;
locations."/" = {
proxyPass = "http://localhost:${toString cfg.port}";
proxyWebsockets = true;
};
};