Monday, June 24, 2024

 Putting HTTP basic auth in front of an arbitrary container. I use Apache. Steps are:

  1. start your container on the host. Forward the port to somewhere you can apply a firewall to.
  2. firewall off the port using, ideally, the providers firewall tool.
  3. start an apache container, and configure it with a reverse proxy, and basic auth.
  4. make sure the Apache port isn't firewalled.

No comments: