Reverse proxy seems to have a sub path bug

my caddy ver is 2.7.4
I attempted to point a site to a subpath through reverse proxy

http://s.cge.hm {
file_server
reverse_proxy * www.kaiquan365.com {
header_up Host {upstream_hostport}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-Host {host}
}
}
http://x.cge.hm {
file_server
reverse_proxy /s/* www.kaiquan365.com {
header_up Host {upstream_hostport}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-Host {host}
}
}

Two configuration files, if the reverse proxy is configured in the root path, everything is normal
But if the path of the reverse proxy contains a subpath, then all the images displayed are incorrect

See this article (it’s not a bug):

Please completely fill out the help topic template, as per the forum rules. We can’t help any further otherwise.

1 Like

thank you
it my prom

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