Add secure port and better description for nostr rs relay

This commit is contained in:
Taylor Helsper 2023-01-07 00:38:08 -06:00
parent 1cfbcef202
commit 6d70ab92d1
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,17 @@
server {
listen 5051 ssl;
server_name nostrrsrelay;
include /etc/nginx/mynode/mynode_ssl_params.conf;
include /etc/nginx/mynode/mynode_ssl_cert_key.conf;
access_log /var/log/nginx/access_nostrrsrelay.log;
error_log /var/log/nginx/error_nostrrsrelay.log;
location / {
proxy_pass http://127.0.0.1:5050;
include /etc/nginx/mynode/mynode_ssl_proxy_params.conf;
}
}

View File

@ -30,7 +30,7 @@
"supports_testnet": false,
"http_port": null,
"https_port": null,
"extra_ports": [5050],
"extra_ports": [5050, 5051],
"requires_bitcoin": false,
"requires_docker_image_installation": true,
"requires_electrs": false,
@ -49,6 +49,8 @@
"heading": "Instructions",
"content": [
"Once the nostr relay is running, you can use nostr clients to connect to it using the local IP address of the device or via the tor service.",
"The relay will be run on port 5050 and 5051 (secure). The relay is not otherwise publicly exposed.",
"For example, you can add the relay to noscl via the command: noscl relay add wss://localhost:5051",
"Enjoy!"
]
}