#Reverse Proxy Not Working after moving VM to Truenas Scale

1 messages · Page 1 of 1 (latest)

boreal marsh
#

Hey guys,
I'm running HAOS in a VM. Was always working before.
I did a restore of my configs after moving to Truenas.
The only thing that isn't working now is the reverse proxy.
I use Nginx Proxy Manager (NPM).
Here is my Home Assistant reverse proxy config:

  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  # Add use_x_forwarded_for
  use_x_forwarded_for: true
  cors_allowed_origins:
    - https://subdomain.domain.ltd
  trusted_proxies:
    - 192.168.0.69
    - 192.168.0.36
    - 192.168.0.0/24```
The reverse proxy IP is ```192.168.0.36``` I have no idea what is going on since there is nothing in the logs.

Would it work if I added ```**``` to the trusted_proxies list?

Thank you all for the help!
boreal marsh
#

damn, no help here

boreal marsh
#

For info, already disabled SSL to try and solve it

#

no avail

boreal marsh
#

jfc

#

please, someone help me

#

nothing on the logs

#

nothing

boreal marsh
#

nevermind, managed to fix it after a month. It was a network NIC issue in truenas

#

Basically: the vm network inside truenas scale was unreacheable by truenas itself. Quite convoluted, but I had to create a bridge NIC and add Truenas' IP to it, then save, remove static ip config in the router for both the VM and truenas, reboot the system, add gateway again to the network settings (they disconfigured), then add the new bridge NIC to the VM too, even though it uses the truenas IP. You then configure the IP in the VM or all over again in the router. The default nic ensp should be blank. 2 nics should now be present. Now it works!