1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-03-23 22:48:46 +01:00
parent 616f310f4a
commit 1555d7b643
No known key found for this signature in database
51 changed files with 243 additions and 231 deletions
hosts/headless/abacus

View file

@ -1,3 +1,4 @@
# TODO: use another service for this
{
config,
lib,
@ -41,9 +42,9 @@ in {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://${lib.formatHostPort {
locations."/".proxyPass = let
host = config.services.microbin.settings.MICROBIN_BIND;
port = config.services.microbin.settings.MICROBIN_PORT;
}}";
port = builtins.toString config.services.microbin.settings.MICROBIN_PORT;
in "http://${host}:${port}";
};
}