1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Fix int errors in flake, add toString

This commit is contained in:
RGBCube 2024-01-10 11:19:20 +03:00
parent 0c16c81c2a
commit 198b69dd1d
No known key found for this signature in database

View file

@ -153,7 +153,7 @@
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/".proxyPass = "http://localhost:${cfg.port}"; locations."/".proxyPass = "http://localhost:${toString cfg.port}";
}; };
virtualHosts."www.${urlStripped}" = { virtualHosts."www.${urlStripped}" = {
@ -170,7 +170,7 @@
useACMEHost = urlStripped; useACMEHost = urlStripped;
locations."/".extraCofig = '' locations."/".extraCofig = ''
proxy_pass http://localhost:${cfg.port}/404; proxy_pass http://localhost:${toString cfg.port}/404;
''; '';
}; };
}; };