Closed shermand100 closed 2 years ago
Think this is a great start and covers all the features you set out to cover.
I'd like to do a bit more testing/get some more feedback on whether this is sufficient, but I've received an email highlighting that PiNodeXMR dashboards are showing up on google search results (facepalm) despite advising that they shouldn't have been port forwarded. Merging and fine tuning can be done as needed.
Method: Set password via setup menu.
sudo htpasswd -c /etc/apache2/.htpasswd pinodexmr
Enable/Disable requirement via setup menu.
cp
versions of 000-default.conf with the required block commented in/outVariable
/home/pinodexmr/variables/htmlPasswordRequired.sh
VALUE of TRUE/FALSE records requirement state for purposes of PiNodeXMR updater to keep correct state when user updates.