Unipi Control Panel password
Any way to set a password to "Unipi control panel" ??
the control panel should be disabled in production environments, leaving only the API port open. If you still need to put a login for control panel, follow the NGINX BasicAuth tutorial: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
Be aware, that the BasicAuth sends login information unecrypted, vulnerable for eavesdropping. Employing HTTPS would be a good idea.
the control panel is hosted by the Nginx webserver. You can simply remove the "evok" symlink from the /etc/nginx/sites-enabled/ directory. After doing this, you have to restart (or disable) the webserver to reflect this change:
sudo su systemctl restart nginx