@oldgeezy said in HAProxy only Default backend is working:
I'm pretty sure I can set my firewall rules so that the incoming WAN traffic lands on the LAN listener and get the same result.
Since you're talking about a VPN, where you get forwarded the traffic by the provider, I don't expect, that anything is coming in on the WAN, rather the VPN interface.
Leads me to believe it's something to do with how my VPN service provider is forwarding the traffic, or my NAT / firewall rule
If your main domain and subdomain resolve the the same IP, both should hit your interface or both not.
The VPN server cannot intercept the HTTPS and split the traffic anyhow.
I'm not sure how to troubleshoot traffic getting passed,
Go to Diagnostic > Packet Capture and sniff the traffic on the involved interfaces.
but getting striped of http headers along the way.
Only a proxy working on the application layer can stripe a host header. And I don't expect, that you configured HAproxy to do this.
Believe I am talking about HTTP, haha to the extent of my knowledge.
So which application are you trying to reach and how. If you access it by an URL starting with http(s) it might obviously use HTTP.