Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-22832

Migration to Artifactory 7.3, with custom context root, clustered instance

    XMLWordPrintable

    Details

      Description

      I'm migrating an existing instance from 6.10.9 to 7.3.1.

      This instance is clustered, with an Apache front-end. The context root for accessing Artifactory is customized, at the reverse-proxy level (ie: http://myserver/1V32_artifactory/).

      I also forgot, the link from reverse-proxy to application server is currently in AJP. I understand that it longer works, and that point is easy to get rid of.

      My concern is about the Apache load-balancer/reverse proxy configuration. I struggle, and can't find the proper configuration (as some options have disappear betwen V6 and V7).

       

      You'll find attached my current Apache configuration

      Thanks in advance.
      {{

        1. Based on Copy/paste of Artifactory "standard" generated configuration

      RewriteRule ^/$ /1V32_artifactory/webapp/ [R,L]
      RewriteRule ^/1V32_artifactory?$ /1V32_artifactory/webapp/ [R,L]
      RewriteRule ^/1V32_artifactory/webapp$ /1V32_artifactory/webapp/ [R,L]

      RequestHeader set X-Artifactory-Override-Base-Url %

      {my_scheme}

      e://front.corp:%

      {my_server_port}

      e/1V32_artifactory

      Header add Set-Cookie "1V32_ROUTEID=.%

      {BALANCER_WORKER_ROUTE}

      e; path=/" env=BALANCER_ROUTE_CHANGED
      <Proxy "balancer://artifactory_cluster">
      BalancerMember "ajp://node1.corp:8019" route=art1_int_node_id ttl=60
      BalancerMember "ajp://node2.corp:8019" route=art2_int_node_id ttl=60
      ProxySet stickysession=1V32_ROUTEID
      </Proxy>

      <Location /1V32_artifactory/>
      <IfDefine HAS_HTPASS_SO>
      AuthBasicProvider 1V32_local_authent
      AuthType Basic
      AuthName "CISAS authentication required"
      Require valid-user
      </IfDefine>
      <IfDefine HAS_HTPASS_BSA>
      AuthBasicProvider 1V32_local_authent_bsa
      AuthType Basic
      AuthName "artifactory bootstrap authentication required"
      Require valid-user
      </IfDefine>
      RequestHeader unset Authorization
      RequestHeader set REMOTE_USER %

      {REMOTE_USER}

      e

      ProxyPass balancer://artifactory_cluster/artifactory/
      ProxyPassReverse balancer://artifactory_cluster/artifactory/
      ProxyPassReverseCookiePath /artifactory /1V32_artifactory
      </Location>
      }}

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Bfabien Fabien Bergeret
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-22832 -
                SYNCHRONIZED
                • Last Sync Date: