Major iota.partners update with reverse proxy, SSL and Trinity wallet support
Take the opportunity during the snapshot on Monday 17th September to reinstall your node in a few minutes thanks to a small IRI database!
The new IOTA Trinity (desktop) wallet requires a node that is accessible via HTTPS , which is not the case for most nodes yet. The revised iota.partners tutorial now makes this possible and fixes problems other tutorials have.
Unlike other tutorials, iota.partners uses the lightweight Nginx with Lua as reverse proxy. Lua allows conditional proxy actions depending on the IRI API request commands. This allows unwanted public requests, such as “addNeighbors”, to be ignored but allowed locally (localhost).
The tutorial optains a Let’s Encrypt SSL certificate and installs it automatically. Nginx then uses this certificate for the IRI API and for Grafana. This makes Grafana available at https://your.fqdn.tld/grafana . Nginx also protects your node against malicious queries with limits.
The IRI API of your node can be reached on HTTP and HTTPS:
curl 123.123.123:14265 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1' -d '{"command": "getNodeInfo"}'curl your.node-fqdn.tld:14265 -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1' -d '{"command": "getNodeInfo"}'curl https://your.node-fqdn.tld -X POST -H 'Content-Type: application/json' -H 'X-IOTA-API-Version: 1' -d '{"command": "getNodeInfo"}'
Your own node can be used in the IOTA Trinity Wallet like this:
https://your.node-fqdn.tld