adding basic auth
This is an extremely basic way to add basic authentication for oxidizied-web. User can set environment variables BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD, after which all the requests to the oxidized will need to provide basic authentication. LibreNMS integration remains functional, as one can provide UN/PW in the URL.
I am aware that one can easily add reverse proxy to achieve the same functionality, but I feel that having ability to do it quickly and easily via environment variables would simplify things for those who choose to run oxidized in container environments.
This PR is stale because it has been open 90 days with no activity.
Node: I'd like to solve the problem in a more generic way (see Issue #353), keeping the PR open until the more generic way is done.
This PR is stale because it has been open 90 days with no activity.