wodby / drupal-php

PHP docker container image for Drupal
https://wodby.com/stacks/drupal
MIT License
60 stars 80 forks source link

Is this a typo error? #69

Closed killbus closed 4 years ago

killbus commented 4 years ago

code in wodby.settings.php.tmpl #54 :

    if (isset($_SERVER['DRUPAL_REVERSE_PROXY_ADDRESSES'])) {
        $proxies = array_merge(
            array_filter(
                array_map(function ($item) {
                    return trim($item);
                }, explode(',', (string)$_SERVER['DRUPAL8_REVERSE_PROXY_ADDRESSES']))
            ),
            $proxies
        );
    }

DRUPAL_REVERSE_PROXY_ADDRESSES and DRUPAL8_REVERSE_PROXY_ADDRESSES.

csandanov commented 4 years ago

Yes, it's a typo. Thank you for reporting this! The env var now called DRUPAL_REVERSE_PROXY_ADDRESSES. And D7 supports it too