• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

haproxy http to http traffic

Scheduled Pinned Locked Moved Cache/Proxy
3 Posts 2 Posters 437 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Druplex
    last edited by Oct 22, 2021, 6:58 PM

    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?

    1 Reply Last reply Reply Quote 0
    • J
      jdennis011
      last edited by Oct 24, 2021, 9:09 PM

      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?

      D 1 Reply Last reply Oct 25, 2021, 12:57 PM Reply Quote 0
      • D
        Druplex @jdennis011
        last edited by Oct 25, 2021, 12:57 PM

        @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.
        haproxy.jpeg

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received