Reverse proxy webmin?

So I have this setup in the caddyfile {
	proxy / {

But when I try it, the login screen works fine, but once you hit login it redirects you to and thus errors out.

Any idea how to prevent this redirect?

I found this but no idea where proxy_redirect and proxy_set_header is with caddy.

From the nginx documentation, proxy_redirect is a specific command that sets a substitution for the content of location and refresh headers - I don’t believe Caddy’s proxy directive has an analogue.

Caddy’s proxy does, however, have the header_upstream subdirective which will perform the same task as nginx’s proxy_set_header.


oh cool, didn’t see that, thanks Whitestrake, that looks to have fixed the issue.

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