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

    Details

    • Type: Improvement Improvement
    • Status: Confirmed
    • Priority: Medium 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

        Activity

        Gaetano Giunta (Inactive) created issue -
        Joao Inacio (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 60172 ] EZ* Development Workflow [ 70017 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 70017 ] EZEE Development Workflow [ 108399 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Gaetano Giunta (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: