Fix kubernetes path prefix rule with rewrite-target
This commit is contained in:
parent
419d46c958
commit
0f09551a76
2 changed files with 4 additions and 4 deletions
|
@ -1728,7 +1728,7 @@ func TestIngressAnnotations(t *testing.T) {
|
|||
PassHostHeader: true,
|
||||
Routes: map[string]types.Route{
|
||||
"/api": {
|
||||
Rule: "ReplacePath:/",
|
||||
Rule: "PathPrefix:/api;ReplacePath:/",
|
||||
},
|
||||
"rewrite": {
|
||||
Rule: "Host:rewrite",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue