caddy -version
)?9.5.0
When I do a proxy, with the without
feature, on the response the url are changed without the path, so the subsequent request are not correct
http://www.lam.local {
proxy /mattermost gitlab:80 {
without /mattermost
header_upstream Host mattermost.lam.local
header_upstream X-Real-IP {remote}
header_upstream X-Forwarded-For {remote}
header_upstream X-Forwarded-Proto {scheme}
}
log stdout
}
from docker container
curl -X GET http://www.lam.local/mattermost
subsequent request auto-generated
curl -X GET http://www.lam.local/static/info.js
I would like to have the subsequent request like this:
curl -X GET http://www.lam.local/mattermost/static/info.js
I'm not sure I understand what you're asking. without
is meant to remove that part from the requested URL so that you can have a virtual /path
for the proxied site. It seems to me like you should just remove your without
directive to get the expected result. If that doesn't fix it, can you give us more information about what you're trying to achieve?
I'm also confused, it looks like it's working as expected... feel free to clarify and, if this is a bug, we can re-open it.
Sorry for the late response, it was I'm misconfiguration on my side !!
Thanks for this project
Le dim. 30 avr. 2017 01:12, Matt Holt notifications@github.com a écrit :
Closed #1619 https://github.com/mholt/caddy/issues/1619.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mholt/caddy/issues/1619#event-1063280493, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADJrq3E75OdJzUALb5j8YDUTXcOD0hXQks5r08PcgaJpZM4NHdZ6
.
Most helpful comment
Sorry for the late response, it was I'm misconfiguration on my side !!
Thanks for this project
Le dim. 30 avr. 2017 01:12, Matt Holt notifications@github.com a écrit :