Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path jump problem #3732

Closed
tikejc opened this issue Aug 6, 2018 · 2 comments
Closed

Path jump problem #3732

tikejc opened this issue Aug 6, 2018 · 2 comments

Comments

@tikejc
Copy link

tikejc commented Aug 6, 2018

issue: I am using version 1.6.5, jumping from http to https, the following issue
Bug:

When I visit http:/test.a.com/ui/dashboard/, I jump to http:/test.a.com/dashboard/ , which causes page 404, which removes /ui from my path. How to solve it?

Ingress:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: traefik
traefik.backend.circuitbreaker: NetworkErrorRatio() > 0.5
traefik.frontend.entryPoints: http,https
traefik.frontend.passHostHeader: "true"
traefik.frontend.rule.type: PathPrefixStrip
traefik.ingress.kubernetes.io/frontend-entroy-points: http,https
traefik.ingress.kubernetes.io/load-balancer-method: drr
traefik.ingress.kubernetes.io/preserve-host: "true"
traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip
traefik.protocol: https
name: traefik-ingress-web
namespace: kube-system
spec:
rules:

  • host: test.a.com
    http:
    paths:
    • backend:
      serviceName: traefik-ingress-service
      servicePort: admin
      path: /ui
    • backend:
      serviceName: api-gateway
      servicePort: api-gateway
      path: /api
    • backend:
      serviceName: traefik-ingress-service
      servicePort: web
      path: /
  • host: test.b.com
    http:
    paths:
    • backend:
      serviceName: discovery01
      servicePort: eureka1
      path: /
@kachkaev
Copy link
Contributor

kachkaev commented Aug 6, 2018

This has been fixed in #3631 and should be released soon in 1.7.0 (you can try 1.7.3-rc3 meanwhile).

Original issue: #1957

@traefiker
Copy link
Contributor

Hi! I'm Træfiker 🤖 the bot in charge of communication regulation.

Thanks for your interest in Træfik!

We dedicate the issue tracker to bug reports and feature requests only.

If you have questions and need community support, you can join our Slack workspace and reach out to us on the #support channel.

Another option is to use Stack Overflow and tag your question traefik.

Of course, double checking Træfik's documentation is always a good idea 😅

@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants