Reverse Proxy Setup

So I followed all the directions in the wiki on setting up es +
varnish. Here's my command line:

/opt/mono/bin/mono --gc=sgen
/home/ubuntu/EventStore/bin/eventstore/release/anycpu/EventStore.SingleNode.exe
-c 0 --ip 127.0.0.1 --http-port 2113 --tcp-port 1113 --prefixes
"http://127.0.0.1:2113/" --run-projections=all --db=$HOME/data

Which works great! Until you try to follow any of the links :slight_smile: They
all look like http://127.0.0.1:2113/streams/%24et-%24statsCollected/191
instead of just /%24et-%24statsCollected/191. Should I rewrite the
response somehow? Or am I missing a configuration option?

Ah yes there needs to be a rewriting rule added. I believe this should help https://www.varnish-cache.org/trac/wiki/RedirectsAndRewrites and I’ll put a card to add it to docs.

Cheers,

Greg