what
This commit is contained in:
parent
616f310f4a
commit
1555d7b643
51 changed files with 243 additions and 231 deletions
hosts/headless/abacus
|
@ -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}";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue