How to configure username & password in tinyproxy?
Add BasicAuth myuser mypassword
to /etc/tinyproxy/tinyproxy.conf
.
Note that Basic Auth was added in tinyproxy 1.10.0, but Ubuntu 18.04 installs 1.8.4 by default.
Build the latest version of tinyproxy yourself or just use Ubuntu 19.04 or newer.
Currently its not supported in tinyproxy.
Here is an open enhancement request for that https://github.com/tinyproxy/tinyproxy/issues/29