Transparent proxy for webmin

Hi,
I’m trying to configure caddy to act as a transparent proxy for webmin. I’ve found a question in this blog with the same problem that I have [Reverse proxy webmin?]) but the answer is not so clear for me.

I’ve installed caddy and I’ve also created the following CaddyFile:

monitor.domain.com {
proxy / http://127.0.0.1:10000 {
header_upstream Host {host}
header_upstream X-Real-IP {remote}
header_upstream X-Forwarded-For {remote}
header_upstream X-Forwarded-Proto {scheme}
}
}

following the original documentation as explained in the “transparent” section but it seems to not work because after I’ve perform the login I’m being redirected to port 10000 that is closed by the UFW firewall.

Can someone help me?
thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.