This commit is contained in:
Kieran 2018-07-30 15:37:18 +08:00
parent a6190d04cd
commit fea08d871c
2 changed files with 6 additions and 1 deletions

View File

@ -15,4 +15,9 @@ location ~ "^\/[0-9a-z\.]{36,40}$" {
```
fastcgi_read_timeout 1200;
```
For lightning tips i recommend using `socat` to connect to the rpc file.
```
socat TCP-LISTEN:9737,bind=127.0.0.1,reuseaddr,fork,range=127.0.0.0/8 UNIX-CLIENT:/root/.lightning/lightning-rpc 1> /var/log/socat-lightning-log 2>&1 &
```

View File

@ -43,7 +43,7 @@
define('_CAPTCHA_SECRET', 'CAP_SECRET');
/* LN RPC-FILE */
define('_LN_RPC_FILE', 'unix:///root/.lightning/lightning-rpc');
define('_LN_RPC_FILE', 'tcp://127.0.0.1:9737');
define("MSAT", 0.00000000001);
define("SAT", 0.00000001);