Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-3919

Marathon-LB HAPROXY examples are incorrect

    Details

      Description

      Source: https://docs.mesosphere.com/services/marathon-lb/advanced

       

       

      The examples for the stinky and redirect show as a boolean however it needs to be a string to work.  

       

      {{ "HAPROXY_0_STICKY":true, "HAPROXY_0_REDIRECT_TO_HTTPS":true,}}

       

      should be 

      {{ "HAPROXY_0_STICKY":"true", "HAPROXY_0_REDIRECT_TO_HTTPS":"true",}}{{}}

       

       

      Also, the  "HAPROXY_0_SSL_CERT":"/etc/ssl/certs/nginx.mesosphere.com" only works for internal service port.  If using additional certs with the 443 port a user needs to add an environment variable of HAPROXY_SSL_CERT0 on MLB. the 0 can be a number from 0-100.  Please see line 62 of the bootstrap script https://github.com/mesosphere/marathon-lb/blob/master/run 

        Attachments

          Activity

            People

            • Assignee:
              sarahstegall Sarah Stegall
              Reporter:
              jscelza jscelza
              Team:
              Doc Team
              Watchers:
              Automation Bot, jscelza, Sarah Stegall
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: