Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-42324

Push cache - fix the reverse proxy rewrite path issues and caddyfile

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • Plat-Ex Services Sprint 44

      The reverse proxy caddyfile and/or rewrite clause does not seem to work as expected. We were getting consistent 400's when trying to curl objects from minio when going through the reverse proxy (within the pod), but not when curling directly through the service itself (also from within the pod). IE curl }}{{http://localhost:8080/inventory/fed-mods.json{{ (not working; all path combinations)}} vs curl }}{{http://minio-service.minio-env.svc.cluster.local:9000/frontend/data/inventory/fed-mods.json{{ (works)}} . Once we removed the rewrite and error handling in the caddyfile via a debugging PR/image, things started working.

              rh-ee-jorringe Justin Orringer
              bflorkie@redhat.com Bryan Florkiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: