mirror of
https://github.com/clearlinux/official-images.git
synced 2026-09-01 02:34:51 +00:00
Add missing "HTTP_HOST" in wordpress-fpm-run test
This avoids the following warning:
PHP message: PHP Warning: Undefined array key "HTTP_HOST" in /var/www/html/wp-includes/functions.php on line 5880
This commit is contained in:
@@ -42,6 +42,7 @@ fcgi-request() {
|
||||
-e SCRIPT_NAME="$url" \
|
||||
-e SCRIPT_FILENAME=/var/www/html/"${url#/}" \
|
||||
-e QUERY_STRING="$queryString" \
|
||||
-e HTTP_HOST='localhost' \
|
||||
"$clientImage" \
|
||||
-bind -connect fpm:9000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user