HAProxy https redirect internal server error
-
I have two local servers (proxmox) that I would like to be able to access from outside my local network. To do this and create two subdomains (nextcloud.mydomain.com gitlab.mydomain.com) I add it as fqdm to the respective servers and create the corresponding rules in NAT / Port Forward.
My problem is that I can only access from outside my network with the subdomain that is first in the Nat rules.
To solve this they recommended that I install the Haproxi package . Once the Backend and Frontend have been created with the appropriate certificates (Acme) and the corresponding rules in the firewall. The problem persists. :(
Can someone help me with this? Some problem in the configuration?
Backend
Frontend