mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-11 16:09:16 +00:00
Add secure port and better description for nostr rs relay
This commit is contained in:
parent
1cfbcef202
commit
6d70ab92d1
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
|
@ -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!"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user