1
Tutorials and FAQs / Re: HAProxy configuration with multiple WANs
« on: December 06, 2020, 05:26:13 am »
After a lot of digging around it was the data center ISP routing issue.
I have changed the gateway and setup WAN2 normally with the dedicated gateway and changed HAProxy to listen on WAN2 Public IP Address with two public services one on port 80 and one on port 443.
Everything resumed and worked normally.
The only issue I seem to face now is how to create 2 public services in HAProxy and listen to the same IP and same Port but one service will encrypt traffic and one shouldn’t encrypt and pass through for the server to encrypt the traffic.
Also, having dedicated and paid wildcard certificates help.
To reduce cost of operating I wanted to enable Let’s Encrypt plug-in.
The let’s encrypt plug-in saves the HAProxy configuration and the HTTP challenge is setup correctly, however it doesn’t create the Trusted certificate at all and nothing is showing in the log page.
Any pointers are welcomed.
I have changed the gateway and setup WAN2 normally with the dedicated gateway and changed HAProxy to listen on WAN2 Public IP Address with two public services one on port 80 and one on port 443.
Everything resumed and worked normally.
The only issue I seem to face now is how to create 2 public services in HAProxy and listen to the same IP and same Port but one service will encrypt traffic and one shouldn’t encrypt and pass through for the server to encrypt the traffic.
Also, having dedicated and paid wildcard certificates help.
To reduce cost of operating I wanted to enable Let’s Encrypt plug-in.
The let’s encrypt plug-in saves the HAProxy configuration and the HTTP challenge is setup correctly, however it doesn’t create the Trusted certificate at all and nothing is showing in the log page.
Any pointers are welcomed.