Skip to content

Support new syntax in haproxy

blallo requested to merge feat/support_public_internal_ports_syntax into master

This is mainly instrumental to allow haproxy to bind publicly to a public port that is different from the target internal port.

The new supported syntax will be:

  public_tcp_endpoints:
    - name: a_service
      use_proxy_protocol: true
      ports:
        - internal: 11312
          public: 1312
        - internal: 11313
          public: 1313
        - 1234
        - 5443

i.e., both the {internal: <number>, public: <number>} and <number> syntax will be supported.

Edited by blallo

Merge request reports