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

Header file support in Apache 'Reverse Proxy Configuration Generator'

    Details

      Description

      Hi,

      In Reverse Proxy Configuration Generator for Apache feature, the httpd.conf header file should be tuned for work correctly.

      Perhaps these lines could be added ... there is many value added to have all required modules loaded and "Listen" on port used.

      Without that, Apache could start without errors ... but you will have some error on use ; with no explicit root cause.

      # Apache libraries location (should be tuned)
      Define APACHE_LIB_DIR /usr/lib/apache2/modules      <---- Input fied in UI could be great
      
      # Apache Logs (default : beside other Artifactory logs)
      Define APACHE_LOG_DIR /[TheArtifactoryHome]/logs         <---- ErrorLog/CustomLog could be uncommented & Input fied in UI could be great
      
      LoadModule proxy_module  ${APACHE_LIB_DIR}/mod_proxy.so
      LoadModule rewrite_module  ${APACHE_LIB_DIR}/mod_rewrite.so
      LoadModule proxy_ajp_module  ${APACHE_LIB_DIR}/mod_proxy_ajp.so
      LoadModule proxy_http_module ${APACHE_LIB_DIR}/mod_proxy_http.so
      LoadModule ssl_module  ${APACHE_LIB_DIR}/mod_ssl.so       <---- Only if HTTPS used
      
      Listen 443        <---- Only if HTTPS used
      Listen XXX        <--- All port used as Docker registry
      

      OK, I agree, this is some pure Apache configuration ... but when you don't know it very well, it is more simple with that .

      Best regards

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              axel3rd Alix Lourme
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: