Skip to content

Commit

Permalink
Runs update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Workflow committed Oct 8, 2024
1 parent a9f9885 commit 6c1075b
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 28/apache/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 28/fpm-alpine/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 28/fpm/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 29/apache/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 29/fpm-alpine/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 29/fpm/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 30/apache/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 30/fpm-alpine/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}
5 changes: 5 additions & 0 deletions 30/fpm/config/reverse-proxy.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@
if ($trustedProxies) {
$CONFIG['trusted_proxies'] = array_filter(array_map('trim', explode(' ', $trustedProxies)));
}

$forwardedForHeaders = getenv('FORWARDED_FOR_HEADERS');
if ($forwardedForHeaders) {
$CONFIG['forwarded_for_headers'] = array_filter(array_map('trim', explode(' ', $forwardedForHeaders)));
}

0 comments on commit 6c1075b

Please sign in to comment.