Matrix synapse, haproxy, pfsense

Has anyone tried setting up a matrix synapse instance behind pfsense haproxy? I’m able to get the instance up on matrix.domain.com but federation doesn’t seem to work. If anyone has been successful with self hosting matrix-synapse please reach out!