I have several tiny python webservers on a single server that I spin up, each with a different port. Is there an easy and quick way to password protect the access to each single (e.g. webserver1) webserver with usr:pwd challenge?
These micro python webservers are each coded from different 3rd parties, and integrating a password protection into the python code of each of them is currently not possible.
So I was thinking maybe a password protection with a reverse proxy? Is this possible?
python webserver1: 10.0.0.1:8080
python webserver2: 10.0.0.1:8090
python webserver3: 10.0.0.1:9080
python webserver4: 10.0.0.1:9090
...