Hello,
Thanks for your answer. Nginx acts as a reverse proxy? Cool, so I just have to configure nginx about 8332 port communication?
Yeah you can create a site configuration for sending requests from a particular (sub-)domain you have to your node, and it will look something like this:
server {
server_name example.com;
location / {
proxy_pass http://127.0.0.1:8332;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
}
}
And then run certbot on it to get an HTTPS certificate.