Rancher入門到精通-2.0 Nginx ingress配置

keycloak is exposed on "/auth" which is the default web-context.

  • I understand that as default web-context, means that you want everything sent to / should be redirected to keycloak.
  • So you need to set a different target for Sentry, like /sentry.
  • kubernetes.io/ingress.class: sentry-nginx is not a valid ingress.class in kubernetes.io that's probably why your ingress is not being considered.
  • Only one deployment of Nginx-Ingress is needed to proxy traffic between multiple apps.
  • The trick here is to expose sentry as mydomain.com/sentry and the app itself receives the connection directly on / as required.

In order to achieve it you can use rewrite-target, learn more here.

  • It wi
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章