I want to restrict the traffic to tinyproxy, how can i do this by adding username & password instead whitelisting IP addresses?
If you want to check your configuration settings, you can use the git config --list command to list all the settings Git can find at that point: $ git config --list user.name=John Doe user.
About Git usernamesYou can change the name that is associated with your Git commits using the git config command. The new name you set will be visible in any future commits you push to GitHub from the command line. If you'd like to keep your real name private, you can use any text as your Git username.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With