fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

httpd_host in config #1670

Open Sovigod opened 6 years ago

Sovigod commented 6 years ago

Hi, Can you add httpd_host variable to config.txt? This is useful for monitoring api.json Thanks!

/*

minzak commented 6 years ago

Confirm, host is it need in config, because it is not secure use it on 0.0.0.0 I'm usually use nginx as front and any service like xmr-stak as backend on 127.0.0.1

Spudz76 commented 6 years ago

Would rather just bind to 127.0.0.1 only (fix the 0.0.0.0 thing) and leave it up to user to redirect/proxy to a unsafe IP and shoot themselves in the foot.

Binding to the outside world should never be done inside an app that isn't checked by security professionals.