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

[Docker] Varnish container is not included as a trusted proxy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 2.5.12, 3.1.1, 3.2.0-dev
    • Fix Version/s: 2.5.15, 3.1.4, 3.2.1
    • Component/s: QA
    • Labels:
    • Sprint:
      [3.2] - Sprint 8

      Description

      It's not possible to invalidate cache when using our Docker stack, because Symfony's TRUSTED_PROXIES are set incorrectly.

      In https://github.com/ezsystems/ezplatform/blob/master/doc/docker/varnish.yml#L12 we set the value varnish, but Symfony does not resolve hostnames - Symfony expects an IP there, so it doesn't work and varnish container is not treated as a trusted proxy by Symfony.

      Initial issue: https://github.com/ezsystems/docker-php/pull/34

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            marek.nocon@ez.no Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: