Closed bjorn-ove closed 4 years ago
A work-around that works for my particular use-case right now is to add es/
as a prefix to the index. I doubt this will cut it when I extend my usage though.
Thanks for opening @BearOve. I’ll have a chance to properly take a look at this next week when I’m back, but it looks like the generated API urls should omit the leading forward slash for `url::join()1st behaviour to work as expected.
I've opened #50 to address
Describe the bug When running towards elasticsearch behind a reverse proxy where the url is something like
http://10.1.2.3/es/
I haven't found a way to use it. The reason for this appears to be the wayUrl::join
works. When given a path that starts with/
it removes everything after the domain and adds it to the root.To Reproduce
Expected behavior The url used should be
https://10.1.2.3/es/my-index/_search
Environment (please complete the following information):