forknote / forknote-pool

Mining pool for Bytecoin/Forknote based coins such as Bytecoin and Dashcoin.
https://github.com/forknote/forknote-pool
GNU General Public License v2.0
123 stars 185 forks source link

How to use intense coin pool with ssl #69

Open mk148a opened 6 years ago

mk148a commented 6 years ago

Hi, i have intense coin pool but , its outdated and not worked, i need use it with intense pool and ssl api, my pool is https://intensecoin-pool.com i need help my pool is not worked since 2month

blueavenue commented 6 years ago

This seems to be port error in the config.js website. What says the Pool Log Files? Or a wrong Port in the pool's config.json. Check it.

mk148a commented 6 years ago

@blueavenue its not i double check them. do you have skype i need realy help

blueavenue commented 6 years ago

Put this in your .htaccess-file in the first lines :

RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

If you dont have a .htaccess file then open a text-editor and generate one (sudo nano .htaccess).

Safe the file to the website-folder /var/www/html/yourpoolwebsite

This rules allows you, to connect from a non ssl to ssl.

Try it and give feedback.

I have today no time. Sorry. Maybe later. :-(

But i think its really a port problem or in the website config.js a problem. Try to Change daemon-port in config.json to RPC-Port.

Do you have put in the right api port and address (in website config.js)?

Like:

var api = "https://intensecoin-pool.com:apiport"; var api_blockexplorer = "https://intensecoin-pool.com:rpcdaemonport";

mk148a commented 6 years ago

@blueavenue good solution but its not work for me :S

blueavenue commented 6 years ago

There must been shown errors (red font) in the VPS Console, after you start the pool with node init.js

Put the errors in here. Or put the api.logfile in here.

Is redis installed?