mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
removed CLNRest
This commit is contained in:
parent
11b42b84c7
commit
8eecf9912f
2 changed files with 12 additions and 16 deletions
|
|
@ -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
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
# '';
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue