BitBotFactory / MikaLendingBot

Automated lending on Cryptocurrency exchanges Poloniex and Bitfinex
http://poloniexlendingbot.readthedocs.io/en/latest/index.html
MIT License
1.11k stars 344 forks source link

Add http password to www #628

Open gamafranco opened 6 years ago

gamafranco commented 6 years ago

We can add easily password to the web app on Python Anyware, but not if we're using the bot on a VPS.

Would be good to have this option on the configuration file.

FlPCrZ commented 5 years ago

Dont know if it is exactly what you are looking for but you can use http authentication in the nginx container: just create a password with htpasswd htpasswd .htaccess YOUR_PASSWORD and mount the file .htaccess in the nginx folder in the nginx container volume. src: https://github.com/jwilder/nginx-proxy#basic-authentication-support passwords should not be in config files IMHO...