MinIO displays no objects in the buckets

MinIO works apparently properly, the mc tool lists everything well, but WebGUI shows no objects in the buckets, having the “Loading” bar just spinning at the bottom?

The WebScokets proxying is probably not properly set in the upstream NginXs!

This works, though:

for console:

    location / {
    proxy_pass https://minio-console/;
    proxy_set_header Host $http_host;
    real_ip_header X-Real-IP;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-NginX-Proxy true;
    proxy_connect_timeout 300;
    proxy_http_version  1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    chunked_transfer_encoding off;

and for data:

        location / {
        proxy_pass https://minio-data/;
	proxy_set_header   Host 	     $host;
      	proxy_set_header   X-Real-IP         $remote_addr;
      	proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
      	proxy_set_header   X-Forwarded-Proto $scheme;
      	proxy_max_temp_file_size 0;
      	proxy_connect_timeout      300;
	proxy_http_version 	   1.1;
      	proxy_set_header Connection "";
	chunked_transfer_encoding off;

Leave a Comment

Your email address will not be published. Required fields are marked *