Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21994

userhash: default kernel should respond to varnish requests from trusted proxies

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Confirmed
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None

      Description

      The current code only responds to requests for userhash from localhost, but we can suppose big customers will run varnish on separate servers.
      Allowing requests from trusted IPs should be easy to setup without writing php code.
      As suggested by Joao, we could use the TRUSTED_PROXIES env var

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gaetano.giunta@ez.no Gaetano Giunta (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: