mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-18 20:44:20 +01:00
ligess fmt
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
* a simple linux VPS with root access
|
||||
* a (sub)domain with the A Record pointing to public IPaddress of the VPS
|
||||
## Install ligess
|
||||
*
|
||||
```
|
||||
# install nodejs from https://github.com/nodesource/distributions
|
||||
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo bash - &&\
|
||||
@@ -28,6 +29,7 @@ sudo -u ligess cp .env.example .env
|
||||
```
|
||||
|
||||
## Edit the .env config file with your info
|
||||
*
|
||||
```
|
||||
sudo nano /home/ligess/ligess/.env
|
||||
```
|
||||
@@ -58,6 +60,7 @@ sudo -u ligess yarn dev
|
||||
|
||||
# NIP05
|
||||
## create a json file called nostr.json with your username and hex pubkey
|
||||
*
|
||||
```
|
||||
sudo nano /var/www/html/.well-known/nostr.json
|
||||
```
|
||||
@@ -84,6 +87,7 @@ sudo nginx -t && sudo systemctl restart nginx
|
||||
```
|
||||
|
||||
### NIP05
|
||||
*
|
||||
```
|
||||
location /.well-known/nostr.json {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
@@ -91,6 +95,7 @@ location /.well-known/nostr.json {
|
||||
}
|
||||
```
|
||||
### LNaddress and Zap server
|
||||
*
|
||||
```
|
||||
location /.well-known/lnurlp {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
|
||||
Reference in New Issue
Block a user