removed CLNRest

This commit is contained in:
Bryan Ramos 2026-03-12 23:16:27 -04:00
parent 11b42b84c7
commit 8eecf9912f
2 changed files with 12 additions and 16 deletions

View file

@ -28,8 +28,3 @@ min-capacity-sat=10000
htlc-minimum-msat=0 htlc-minimum-msat=0
funding-confirms=3 funding-confirms=3
max-concurrent-htlcs=30 max-concurrent-htlcs=30
# CLNRest - REST API for wallets (Zeus, RTL, etc.)
clnrest-port=3010
clnrest-host=127.0.0.1
clnrest-protocol=https

View file

@ -79,16 +79,17 @@ in
"${home}/bitcoin/hsm_secret" "${home}/bitcoin/hsm_secret"
]; ];
# Nginx reverse proxy for CLNRest API (Zeus, RTL, etc.) # TODO: CLNRest not included in nixpkgs clightning build
services.nginx.virtualHosts."ln.${domain}" = mkIf nginx.enable { # Need to package it separately or use an overlay
useACMEHost = domain; # services.nginx.virtualHosts."ln.${domain}" = mkIf nginx.enable {
forceSSL = true; # useACMEHost = domain;
locations."/" = { # forceSSL = true;
proxyPass = "https://127.0.0.1:3010"; # locations."/" = {
extraConfig = '' # proxyPass = "https://127.0.0.1:3010";
proxy_ssl_verify off; # extraConfig = ''
''; # proxy_ssl_verify off;
}; # '';
}; # };
# };
}; };
} }