haproxy http to http traffic
-
I have configured http to https via HAproxy and Acme and it works great, but i still have some API's that are having trouble communicating since they only digest http traffic. Have used this example as per this link to configure the Haproxy.
Anyone who knows any workaround to parse http to http traffic via the haproxy?
-
I'm not sure I understand what you mean? you can have 2 front ends, 1 for http and 1 for https, they can both point at the same backend, you can use acl rules for multiple services on those front ends.
does that help?
-
@jdennis011 See attached image for a small draw up. For the breakdown:
The enduser is supposed to access system A from outside the network via HTTPS, system A grabs data from the API(both in local lan) but the API only communicates via http. So how do link the two on the HAproxy, such that data between system A and the API is shared via http in the background but shared to the end user via HTTPS?
Please note: if system A cannot locate the API server, the site breaks and nothing works.