caddy-filter
caddy-filter copied to clipboard
doesn't seem to work with v1
I'm using v1 right now and it doesn't seem to work:
0.0.0.0
browse
log stdout
errors stdout
filter rule {
content_type text/html.*
search_pattern Connections
replacement blabla
}
proxy / srv://something.service.consul
Yet the HTML is returning:
<li class=""><a href="/pghero/connections">Connections</a></li>
I tried many different things like passing a path /pghero and what not but can't get it to work. I just want to prefix /pghero with /something/pghero.
Here's a gist of the HTML page: https://gist.github.com/scalp42/aa122448774afab2f3bdb9d3bc9fbecd
Not sure if I'm missing something.
Thanks in advance!