Using HA Proxy to direct to Wordpress ran on TrueNAS Scale

Hello everyone,

I have setup a pfSense that runs HA Proxy for other servers.

I’ve setup TrueNAS Scale, with a storage pool and Wordpress as an app.

When I direct HA Proxy to the NAS IP and the port used by Wordpress, it does not reach the site. I changed the web GUI default ports to stop HA Proxy taking me to the NAS logon but now it can’t get to the site at all (externally).

Can anyone advise what needs to be done to get HA Proxy to take an external https to the app, within TrueNAS Scale?

Follow Tom’s guide and it should work. He has an older video on the same topic in his playlist. I have used the older video to expose Nextcloud.

https://youtu.be/bU85dgHSb2E

This was one of the first videos I followed. Nextcloud and Plex work perfectly fine as they are running on their own Ubuntu VMs but Wordpress is running on an app, within TrueNAS - has anyone set it up like that before? Using pfSense running HA Proxy?

1 Like

When installing the WP app, the WordPress and Site addresses in the container are set to the server address and WP port number. Change these under Settings > General in the WP dashboard to point to the actual URL.

I wish it was that simple. You would expect it to work like that yet it doesnt. It throws you in some kind of strange loop. Resulting on landing on the HA “Congratulations! You’ve successfully started the Nginx Proxy Manager.” page or the page doesnt load at all.