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
funding-confirms=3
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"
];
# Nginx reverse proxy for CLNRest API (Zeus, RTL, etc.)
services.nginx.virtualHosts."ln.${domain}" = mkIf nginx.enable {
useACMEHost = domain;
forceSSL = true;
locations."/" = {
proxyPass = "https://127.0.0.1:3010";
extraConfig = ''
proxy_ssl_verify off;
'';
};
};
# TODO: CLNRest not included in nixpkgs clightning build
# Need to package it separately or use an overlay
# services.nginx.virtualHosts."ln.${domain}" = mkIf nginx.enable {
# useACMEHost = domain;
# forceSSL = true;
# locations."/" = {
# proxyPass = "https://127.0.0.1:3010";
# extraConfig = ''
# proxy_ssl_verify off;
# '';
# };
# };
};
}