Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1962

Improve Apache pass-through config

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • CernVM-FS 2.10
    • CVMFS
    • None
    • ANY

    Description

      The current default config should be improved wrt. cache expiry settings. A good template is

      # ProxyPass rules for repo lhcbdev.cern.ch
      ProxyRequests Off
      ProxyPreserveHost Off
       
      # Do not ProxyPass GeoAPI requests to S3
      ProxyPass /cvmfs/lhcbdev.cern.ch/api/ !
      ProxyPass /opt/lhcbdev/api/ !
       
      # ProxyPass to S3 for data requests
      ProxyPass /cvmfs/lhcbdev.cern.ch http://cvmfs-lhcbdev.s3.cern.ch/cvmfs/lhcbdev.cern.ch
      ProxyPassReverse /cvmfs/lhcbdev.cern.ch http://cvmfs-lhcbdev.s3.cern.ch/cvmfs/lhcbdev.cern.ch
       
      # Manipulate S3 headers when ProxyPassing
      <Location "/cvmfs/lhcbdev.cern.ch">
          Options -MultiViews
          Require all granted
       
          EnableMMAP Off
          EnableSendFile Off
       
          RequestHeader unset If-Modified-Since
          Header unset Last-Modified
          Header unset Etag
      </Location>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jblomer Jakob Blomer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: