diff --git a/rootfs/standard/etc/nginx/sites-enabled/corsproxy_btcrpc.conf b/rootfs/standard/etc/nginx/sites-enabled/corsproxy_btcrpc.conf index 4d2c8c8f..fcb98283 100644 --- a/rootfs/standard/etc/nginx/sites-enabled/corsproxy_btcrpc.conf +++ b/rootfs/standard/etc/nginx/sites-enabled/corsproxy_btcrpc.conf @@ -7,9 +7,15 @@ upstream bitcoind { ## mainnet configuration server { - listen 8336; + listen 8336 ssl; server_name bitcoind.localhost; + include /etc/nginx/mynode/mynode_ssl_params.conf; + include /etc/nginx/mynode/mynode_ssl_cert_key.conf; + + access_log /var/log/nginx/access_nginx_corsproxy_https.log; + error_log /var/log/nginx/error_nginx_corsproxy_https.log; + location / { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*' always; @@ -32,6 +38,8 @@ server { add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; } + include /etc/nginx/mynode/mynode_ssl_proxy_params.conf; + proxy_pass http://bitcoind; proxy_set_header Host $host; proxy_set_header Accept-Encoding ""; diff --git a/rootfs/standard/var/www/mynode/templates/caravan.html b/rootfs/standard/var/www/mynode/templates/caravan.html index 42feb5db..60203ec5 100644 --- a/rootfs/standard/var/www/mynode/templates/caravan.html +++ b/rootfs/standard/var/www/mynode/templates/caravan.html @@ -47,7 +47,10 @@
  1. Change the Public/Private option to Private
  2. -
  3. Change the URL to your node's IP address: http://{{local_ip}}:8336
  4. +
  5. Change the URL to your node's IP address: https://{{local_ip}}:8336
  6. +
  7. Change the Username to "mynode"
  8. Change the Password to the RPC Password from the Bitcoin page
  9. Click "Test Connection"