diff options
| -rw-r--r-- | module/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/default.nix b/module/default.nix index ed705aa..6339fef 100644 --- a/module/default.nix +++ b/module/default.nix @@ -102,7 +102,7 @@ in { "" "${lib.getExe cfg.server} \ serve \ - --port ${cfg.port} \ + --port ${builtins.toString cfg.port} \ ${lib.strings.optionalString (cfg.secretKeyFile != null) "--secret-key-file ${cfg.secretKeyFile}"} \ --host ${cfg.address} \ --db-path ${cfg.dbPath}" @@ -125,7 +125,7 @@ in { services.nginx.virtualHosts."${cfg.domain}" = { locations."/api" = { - proxyPass = "http://127.0.0.1:${cfg.port}"; + proxyPass = "http://127.0.0.1:${builtins.toString cfg.port}"; recommendedProxySettings = true; proxyWebsockets = true; |
