I’m trying to make a simple proxy for the http endpoint on NSQ
localhost:8001
proxy / localhost:4151/pub?topic=caddy
Any data posted to the site root should be forwarded to the proxy url where the topic is defined
In the NSQ log files I can see that the request goes to the wrong address
/pub/?topic=caddy
How can I get the proxy to work correctly?