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

Ingress subpath blank white page #2206

Closed
ptisma opened this issue Jul 9, 2024 · 1 comment
Closed

Ingress subpath blank white page #2206

ptisma opened this issue Jul 9, 2024 · 1 comment

Comments

@ptisma
Copy link

ptisma commented Jul 9, 2024

I am trying to expose the minio-operator console through ingress, when exposing on root path /, it works normally, UI loads in and asks for JWT token, but when adding a subpath, its not loading properly, it's just a blank white page with 3 picture icons.

apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
  name: replacepath
  namespace: minio-operator
spec:
 replacePathRegex:
    regex: "^/test(/|$)(.*)"
    replacement: "/${2}"
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-stage"
    traefik.ingress.kubernetes.io/router.middlewares: "minio-operator-replacepath@kubernetescrd"
  name: minio
  namespace: minio-operator
spec:
  ingressClassName: traefik
  tls:
  - hosts:
    - ptisma.online
    - www.ptisma.online
    secretName: ptisma-online-tls
  rules:
  - host: ptisma.online
    http:
      paths:
        - pathType: Prefix
          path: /test/
          backend:
            service:
              name: console
              port:
                number: 9090
  - host: www.ptisma.online
    http:
      paths:
        - pathType: Prefix
          path: /test/
          backend:
            service:
              name: console
              port:
                number: 9090

Screenshot 2024-07-09 110236

@ramondeklein
Copy link
Contributor

Duplicate of #1962.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants