Closed ghost closed 7 years ago
We aren't going to want to attempt path merging, the url in the config is really a list of "origins" (scheme + authority).
You should still be able to get this working by listening on multiple ports, or using virtualhosts.
Fair enough, though then I'd be inclined to call it a documentation bug, since it's not clear from reading the docs that such a thing shouldn't work.
@JeffJellybooks You are right. I updated the docs, do they seem better now?
@danielnelson Thanks, that does indeed add clarity.
Bug report
Relevant telegraf.conf:
(Note the "/i".)
System info:
Steps to reproduce:
Our influxdb is accessed via an nginx reverse proxy. Rather than serve on many ports, we proxy different paths. But telegraf isn't doing what we expect.
The nginx config looks like this:
Expected behavior:
I expect telegraf to emit queries like "i/query...".
Actual behavior:
(Note the "/query..." rather than "i/query...".)