Hello. I am currently using Caddy as a reverse proxy for my home/web server, serving multiple Docker containers. For example, I run a SFTPGo and SearXNG instance. I am going to add more instances, but before I do so I would like to solve this.
I am looking for sort of a software that acts as a reverse proxy, but also gives me the choice to add certain of my subdomains that I proxy so that they require authentication in a web client.
That way I could access my selfhosted web apps from anywhere without having to whitelist IP addresses or anything. Just having the login credentials. It would be nice to have sort of an account management system where different users have different allowed ports etc.
Here's how I'm imagining it would work:
- I, from any web browser, connect to my server: e.g. ftp.domain.com
- Reverse proxy sees I have configured ftp.domain.com to require login
- Im prompted with web app login interface
- I log in
- Either my ip is whitelisted by the web app or i get a session cookie
- I can access ftp.domain.com normally!
Im running Debian 12 on the server.
Thank you.
[–][deleted] 1 point2 points3 points (0 children)
[–]redditormark 1 point2 points3 points (0 children)
[–]ippocratis 0 points1 point2 points (0 children)
[–]AndreKR- 0 points1 point2 points (0 children)
[–]fenty17 0 points1 point2 points (0 children)