Redisinsight with docker is giving blank screen

Setting up RedisInsight GUI on ubuntu machine using docker and nginx

Using the following docker-compose on Ubuntu 20.04 machine

version: '3.7'

services:
  redis-ui:
    image: redislabs/redisinsight
    container_name: redis-ui
    volumes:
      - redisinsight:/db
    ports:
      - "8001:8001"
    restart: on-failure

volumes:
  redisinsight:

And the following nginx config

upstream redisinsight_server {
    server localhost:8001;
}

server {
    server_name sub.example.in;

    client_max_body_size 50M;

    location /redis/ {
        proxy_pass          http://redisinsight_server/;
        proxy_redirect      off;
        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;
    }
}

The docker is run using the command

docker-compose up

and trying to access the RedisInsight on the following URL

http://sub.example.com/redis/

But it gives a blank page only

Hey @anujscanova,

It would be helpful if we get more logs on this issue. Can you send us the logs on the Browser console?

Also, make sure sub.example.com is in your /etc/hosts file if you are on linux or else the corresponding OS’s hosts file.

Thanks