I have a proxy rewrite rule to redirect a particular path on my "connect" server to another path but i'm seeing both of them in the log when i run with "debug: true".
Here is the rewrite rule:
server2: {
proxies: [
{
context: "/templates",
host: "localhost",
port: 2443,
https: false,
changeOrigin: false,
rewrite: {
"/templates/components/libraries/1.2": "/jmvc"
}
}
]
}
And here's what I'm seeing in the debug output:
[D] server GET /jmvc/dateinput/1.3.0/jquery.dateinput.css 304 - - 0.859 ms
[D] server GET /templates/components/libraries/1.2/dateinput/1.3.0/jquery.dateinput.css 304 - - 6.354 ms
What gives? Is it actually pulling BOTH? Or just a bad debug message??
I have a proxy rewrite rule to redirect a particular path on my "connect" server to another path but i'm seeing both of them in the log when i run with "debug: true".
Here is the rewrite rule: server2: { proxies: [ { context: "/templates", host: "localhost", port: 2443, https: false, changeOrigin: false, rewrite: { "/templates/components/libraries/1.2": "/jmvc" } } ] }
And here's what I'm seeing in the debug output:
[D] server GET /jmvc/dateinput/1.3.0/jquery.dateinput.css 304 - - 0.859 ms [D] server GET /templates/components/libraries/1.2/dateinput/1.3.0/jquery.dateinput.css 304 - - 6.354 ms
What gives? Is it actually pulling BOTH? Or just a bad debug message??