fix: ports are numbers not strings
This commit is contained in:
parent
81b41087fe
commit
c42b13b990
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ Gonna use a priper nixos module for this
|
||||||
services.nginx.virtualHosts."${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = {
|
services.nginx.virtualHosts."${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "skynet";
|
useACMEHost = "skynet";
|
||||||
locations."/".proxyPass = "http://localhost:${cfg.frontend.port}";
|
locations."/".proxyPass = "http://localhost:${toString cfg.frontend.port}";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.arion = {
|
virtualisation.arion = {
|
||||||
|
@ -206,7 +206,7 @@ Gonna use a priper nixos module for this
|
||||||
];
|
];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
"${cfg.frontend.port}:80/tcp"
|
"${toString cfg.frontend.port}:80/tcp"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue