Not understanding the HA Proxy flow for one backend server
-
I have HA proxy set up with multiple backend servers for various applications working without issue.
I decided to install NextCloud on my VM instance. Its sitting in my DMZ vlan[192.168.15.0/24]
Here is the weirdness..If i connect directly to the nextcloud dmz IP - 192.168.15.102 , i get the landing page. I can log in. All is well.
If i connect through my HA proxy - and here is the weird part - i eventually get a 504 Gateway timed out but in the firewall logs I see my HA proxy establishing the TCP 3 way handshake, i even see a GET request from my proxy but after a few seconds i see my nextcloud server sending out DNS Queries for nextcloud.mydomain.com and then I see the server attempting to establish a 3-way handshake with my proxy - sending a SYN.
I have never seen this behaviour at all with my other apps. Im zeroing in on a HA Proxy misconfig possibly as bypassing the proxy everything works as expected.
Ideas?
-
@michmoor This was solved on my end. Was an issue with the backend server domain-name vs. hostname configured.