thomasloven / hass-favicon

🔹 Change the favicon of your Home Assistant instance
MIT License
104 stars 19 forks source link

Icon on login screen #23

Closed sanderlv closed 3 years ago

sanderlv commented 3 years ago

Hi Thomas, is it possible to change the icon & name of the login screen? So that I see when I login directly?

image

image

thomasloven commented 3 years ago

Nope.

This is by design - I don't want to mess with the login screen for security reasons.

Some of the methods described here may work, though.

sanderlv commented 3 years ago

You do not happen to know how to that on a synology reverse proxy already proxying succesfully with websocket toy homeassistant?

sanderlv commented 3 years ago

Thomas, I found the location of the config in nginx

    location / {

        if ($proxy_x_forwarded_proto = false) {
            set $proxy_x_forwarded_proto '';
        }

        proxy_connect_timeout 60;

        proxy_read_timeout 60;

        proxy_send_timeout 60;

        proxy_intercept_errors off;

        proxy_http_version 1.1;

        proxy_set_header        Upgrade            $http_upgrade;

        proxy_set_header        Connection            $connection_upgrade;

        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            $proxy_x_forwarded_proto;

        proxy_set_header        Host            $http_host;

        proxy_pass http://10.37.94.201:80;

I am struggling to get this in on the correct way as I am not experiences with this type of coding.

  location /static/icons/ {
    proxy_pass http://your_local_ha_ip:8123/local/icons/;
    ... # according to your needs e.g. proxy headers, redirects from http to https and such
  }

Can you help me with that?