Local Dashboard wont load when viewed via NGINX proxy

I have a strange issue that I can't figure out. I have virtual keypad dashboard that I have restricted to only local access. I would like to share this dashboard Home Assistant so that I can incorporate it as part of another HA dashboard. This works fine when I am viewing my HA dashboard locally, but when I view it remotely, I get a blank box where the keypad would be because it cannot show content delievered via HTTP because the remote connection to HA uses HTTPS.

So, I set up an NGINX proxy. Now I can view Hubitat GUI locally over https by using hubitat.mcdearmonaz.com instead of my IP address. The problem is that if I take a local dashboard link, such as: http://10.11.37.7/apps/api/1254/dashboard/1254?access_token=xxxxxxxx-yyyy-zzzz-9961-abcdefghijklmnop&local=true and simply swap in https://hubitat.mcdearmonaz.com instead of http://10.11.37.7 and that just fails to load.

Any ideas how to get this working properly?

Well, I figured it out, for anybody else who may try this in the future. You need to access Hubitat via https instead of http in the NGINX settings. Even though Hubitat doesn't have a valid certificate for https, NGINX ignores the certificate warning apparently and it all just works as it should. Very nice.

My original assumption was that the certificate warning would cause the process to hiccup so I used http instead. The entire point afterall was to proxy the content with NGINX and use that for https. Anyway, now I know.