Hello,
Can't find out why regex in PathPrefix doesn't work, need help.
In dynamic yaml have two rules:
linux-repo:
rule: "Host(nexus.example.com
)"
linux-index:
rule: "Host(nexus.example.com
) && PathPrefix(/repository/raw-linux-c10f1-proxy/(x86_64|x86_64-i586|noarch)/base.*
)"
I suppose that pathprefix rule has higher priority and should work first, but in logs i see:
"GET /repository/raw-linux-c10f1-proxy/noarch/base/release HTTP/1.1" 200 2199 "-" "-" 121 "linux-repo@file" "http:/nexus.test:8081" 100ms
What's wrong with regex and why it doesn't work?