Comment on Caddy reverse proxy fails with a login page
surewhynotlem@lemmy.world 1 day ago
I don’t know how to answer your question. But it might be that your router doesn’t like being access as a url. I know I had to tell mine to accept login.router.net as itself.
I also just want to highlight:
The router and the host running Caddy, are different machines
This means your credentials are being passed in plain text over your network between caddy and the router. This might be OK to you. But wanted to highlight for anyone else reading.
xavier666@lemmy.umucat.day 1 day ago
Hello there. I perfectly understand the risks of my setup. Since it’s a commercial off-the-shelf router, i can’t run a reverse proxy on it, so this is the best that i can do (other than VLANs). It’s also a private network, so I guess it’s fine.
I used a bit of AI which said that such embedded devices don’t work with reverse proxies. Finding which exact parameters as respected by the router will be time-consuming and the end result is not that great.