Hello, my caddy version is 0.10.4.
I am trying to reverse proxy uTorrent
proxy /atorrent 192.168.1.4:5011/gui {
without /atorrent
transparent
header_upstream X-Forwarded-Host {host}´
}
Putting it under its own subdomain works and putting it as /gui for the proxy works, but now when I do this uTorrent responds with 404 as not found.
I had the same problem with another application that uses absolute path and can not change base url. It works on subdomain as it expects / as location, I was wondering if I could use the rewrite rules to rewrite these applications.
proxy /fusion 192.168.1.4:20604 {
without /fusion
transparent
header_upstream X-Forwarded-Host {host}´
}
The app redirects to /login when used without reverse proxy and when used with reverse proxy it goes to domain.com/login instead of domain.com/fusion/login as it is not proxy aware.
I tried to use the glances rule but they made no difference.