1
0
mirror of https://github.com/containous/traefik.git synced 2025-10-20 11:33:18 +03:00

Fix kubernetes path prefix rule with rewrite-target

This commit is contained in:
Kwok-kuen Cheung
2017-11-27 18:22:03 +08:00
committed by Traefiker
parent 419d46c958
commit 0f09551a76
2 changed files with 4 additions and 4 deletions

View File

@@ -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",