Enable to connect hass-configurator https external address

Tags: #<Tag:0x00007f739a75a2f0> #<Tag:0x00007f739a75a048> #<Tag:0x00007f739a759e40>

hello.

I configure Home assistant core for Freenas community plugin.

and install hacs, configurator, appdaemon.

And I also use Reverse Proxy on another jail. use SSL.

but when I connect https://[mydomain] I can`t access configurator page.

on browser console error message

Mixed Content: The page at ‘https://[mydomain]/configurator’ was loaded over HTTPS, but requested an insecure frame ‘http://192.168.1.20:3218/’. This request has been blocked; the content must be served over HTTPS.

but, HACS I can access https.

here is my nginx config

# custom code for hop by hop headers
    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }
    #custom code for connection with websocket this is the port on the server
     upstream websocket  {
        server 192.168.1.20:8123;
    }

server {
    listen 80;
    server_name [mydomain];
    return 302 https://$server_name$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name [mydomain];
    server_tokens off;
    include /usr/local/etc/nginx/conf.d/ssl/*.conf;
    include /usr/local/etc/nginx/conf.d/harden/*.conf;
    proxy_buffering off;

    location  / {
            proxy_pass http://websocket;
            proxy_set_header HOST $http_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_pass_request_headers on;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
    }
        location  /api/websocket {
            proxy_pass http://websocket/api/websocket;
            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_pass_request_headers on;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;

        }
    client_max_body_size        100G;
    client_body_buffer_size     500M;

}

how can I solve this problem?

I can access http://IP/configurator over vpn.