diff --git a/.config/reverse-proxy.config.php b/.config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/.config/reverse-proxy.config.php +++ b/.config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/16.0/apache/config/reverse-proxy.config.php b/16.0/apache/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/16.0/apache/config/reverse-proxy.config.php +++ b/16.0/apache/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/16.0/fpm-alpine/config/reverse-proxy.config.php b/16.0/fpm-alpine/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/16.0/fpm-alpine/config/reverse-proxy.config.php +++ b/16.0/fpm-alpine/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/16.0/fpm/config/reverse-proxy.config.php b/16.0/fpm/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/16.0/fpm/config/reverse-proxy.config.php +++ b/16.0/fpm/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/17.0/apache/config/reverse-proxy.config.php b/17.0/apache/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/17.0/apache/config/reverse-proxy.config.php +++ b/17.0/apache/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/17.0/fpm-alpine/config/reverse-proxy.config.php b/17.0/fpm-alpine/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/17.0/fpm-alpine/config/reverse-proxy.config.php +++ b/17.0/fpm-alpine/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/17.0/fpm/config/reverse-proxy.config.php b/17.0/fpm/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/17.0/fpm/config/reverse-proxy.config.php +++ b/17.0/fpm/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/18.0/apache/config/reverse-proxy.config.php b/18.0/apache/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/18.0/apache/config/reverse-proxy.config.php +++ b/18.0/apache/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/18.0/fpm-alpine/config/reverse-proxy.config.php b/18.0/fpm-alpine/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/18.0/fpm-alpine/config/reverse-proxy.config.php +++ b/18.0/fpm-alpine/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; } diff --git a/18.0/fpm/config/reverse-proxy.config.php b/18.0/fpm/config/reverse-proxy.config.php index 26342782..e38c3d04 100644 --- a/18.0/fpm/config/reverse-proxy.config.php +++ b/18.0/fpm/config/reverse-proxy.config.php @@ -2,29 +2,29 @@ if (getenv('OVERWRITEHOST')) { $CONFIG['overwritehost'] = getenv('OVERWRITEHOST'); } else { - $CONFIG['overwritehost'] = ''; + $CONFIG['overwritehost'] = null; } if (getenv('OVERWRITEPROTOCOL')) { $CONFIG['overwriteprotocol'] = getenv('OVERWRITEPROTOCOL'); } else { - $CONFIG['overwriteprotocol'] = ''; + $CONFIG['overwriteprotocol'] = null; } if (getenv('OVERWRITEWEBROOT')) { $CONFIG['overwritewebroot'] = getenv('OVERWRITEWEBROOT'); } else { - $CONFIG['overwritewebroot'] = ''; + $CONFIG['overwritewebroot'] = null; } if (getenv('OVERWRITECONDADDR')) { $CONFIG['overwritecondaddr'] = getenv('OVERWRITECONDADDR'); } else { - $CONFIG['overwritecondaddr'] = ''; + $CONFIG['overwritecondaddr'] = null; } if (getenv('TRUSTED_PROXIES')) { $CONFIG['trusted_proxies'] = explode(',', getenv('TRUSTED_PROXIES')); } else { - $CONFIG['trusted_proxies'] = []; + $CONFIG['trusted_proxies'] = null; }