sammy007 / open-ethereum-pool

Open Ethereum Mining Pool
GNU General Public License v3.0
1.4k stars 1.12k forks source link

Possible to configure frontend API through SSL (https)? #328

Open therealjayvi90 opened 6 years ago

therealjayvi90 commented 6 years ago

So I've been running the configuration without any issues for a while, but today I wanted to migrate over to using https instead of http for the frontend.

I've got it working, but I can't get the stats down screen to go away now that its configured.

I've looked through the documentation, but I can t find anything specifically for running HTTPS.

Am I possibly just missing something?

mikeyb commented 6 years ago

IIRC you configure SSL on a proxy like nginx, and forward over http from nginx to the app. This terminates SSL on the proxy and responds over SSL from the proxy when nginx backend returns data. But the data between nginx proxy and api will be over http (preferably over private network)

mikeyb commented 6 years ago

NGINX - terminating-ssl-tcp NGINX docs are some of the best, you should find everything you need widely available in them

bunkerGrin commented 5 years ago

IIRC you configure SSL on a proxy like nginx, and forward over http from nginx to the app. This terminates SSL on the proxy and responds over SSL from the proxy when nginx backend returns data. But the data between nginx proxy and api will be over http (preferably over private network)

its not nowrking