mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29: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
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
# '';
|
||||
# };
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue