TrueNAS Web UI not loading with Nginx Proxy Manager

Hi there. I got TrueNAS Scale and Nginx Proxy Manager running because I want to use subdomains with ssl cert for all my coming home services.

My setup is like this:

  • TrueNAS WebUI running on ports http 180 and https 1443
  • Nginx Proxy Manager running on ports http 80, https 443 and webui 81

As you can see I have proxy.mydomain.com for Nginx webui and truenas.mydomain.com for TrueNAS. The Proxy manager webui loads fine when I use the proxy address.
The weird thing is, that TrueNAS webui only loads when I use the ip

When I use the proxy address it “pretends” to be loading but it never finishes

If the webui would throw an http error like 502 I could change my proxy config but I got no idea what kind of error this endless loading screen could be.

Do you have any ideas?

Did you turn on the switch for websockets?

Wow lol that did the trick. I didn’t know the webui was using web sockets

The API does, and the UI talks to the API, so it was a good guess.