-
Notifications
You must be signed in to change notification settings - Fork 288
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 Not Working. #2045
Comments
You need to tell MinIO where is your console hosted at, leaving out MINIO_BROWSER_REDIRECT_URL won't work. It should be |
Hey @harshavardhana, I did try it as mentioned in here |
You need also use fairly recent MinIO. |
Hey @harshavardhana, I'm on latest version of MinIO, used the latest tag from both docker and quay.io, still same .. No Luck.. |
Also @harshavardhana, With NodePort i'm able to access, just behind ingress getting this weird issue where favicon is loading, but the app is not. 😬 |
I can reproduce the problem with docker-compose and nginx |
Thanks a lot @harshavardhana, If possible, can you try to reproduce on Kubernetes and ingress ? Or with subpath on compose and Nginx. Since, main domain will reach out to our app and /minio should reach minio. This used to work with 2021 July version, before the update to this UI version. |
your nginx config is missing a
|
Hey, We aren't using Nginx, we are using contour ingress and I don't think Nginx ingress also has something like |
Have the same issue. Also have tried rewrite rules. |
Could you please suggest how can I get this to work. |
One more question - does the MINIO_CONSOLE_SUBPATH variable no longer work?
Thanks ! |
yes, we removed |
@dvaldivia , yes. |
Turns out the domain doesn't really matter if you're using something like traefik. I set mine to
I'm also setting the console address in my compose.yaml with the following minio command:
|
Assuming I want to use a subpath for the operator (or tenant) console and I dont rewrite the path before hitting the console. What are the provisioning steps when installing minio-operator via helm (minio-operator chart 4.4.28) which uses console 0.19.4. Do I need to set MINIO_CONSOLE_SUBPATH?
I can reach the operator console fine via kubectl proxy but I would like to reach it via http://localhost/minio/operator and then similarly the console for tenant-1, http://localhost/minio/tenant-1/. In both instances, I can read the operator console but it is not using a subpath and attempts to load most of the page from non-existing "root" subpath location. (I've also just tried: #1908 (comment) using nginx rewrite and this didn't work for me. So I feel like this is a moving target based on how many Issues are raised about this problem!?) Appreciate any help, I've spent way too many hours trying to follow old documentation with new charts & releases. :/ Setup Context: |
Subpath works for me except for download links, which ignores it. I use the latest docker image (minio/minio:latest)
Reverse proxy rewrite :
Console URL : http://localhost:8080/minio/ I appreciate any help |
@vmire that sounds a like a simple bug to fix, can you file a separate issue for that? |
we also need subpath rather than MINIO_BROWSER_REDIRECT_URL, this environment parameter is very inflexible ! |
I am running into the same issue configuring an ingress subpath. Though I have MINIO_BROWSER_REDIRECT_URL configured, the console is still serving resources at |
I also have the same issue configuring Ingress console access with this helm chart. consoleIngress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: app-clusterissuer
nginx.ingress.kubernetes.io/rewrite-target: /$2
path: /minio(/|$)(.*)
hosts:
- my.application.com
tls:
- secretName: app-certificate-secret
hosts:
- my.application.com I tried my own
|
Hey Team,
I'm trying to upgrade from old version of MinIo to latest one and we found we had to make multiple changes,
This is my svc definition
This is my ingress file
When i try to hit /minio, it's not opening console
The text was updated successfully, but these errors were encountered: