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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 2.5.15, 3.1.4, 3.2.1
    • 2.5.12, 3.1.1, 3.2.x-dev
    • QA
    • [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

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: