From 07306e09f54cd082abed28d77ca0dca0c63e16b8 Mon Sep 17 00:00:00 2001 From: Andy Potanin Date: Wed, 21 Oct 2026 16:58:55 -0400 Subject: [PATCH] fix: alias fastcgi-php8.4.conf to the 8.5 snippet for tenant configs Six configmaps across two apps (destinationpickleball, marketplace- restaurant) hardcode the 8.4 snippet name and crash nginx on the 8.5 image (found by the destinationpickleball staging canary). Alias keeps legacy tenant configs working unchanged. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a1d9ce8..7b56981 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,8 @@ RUN sed -i "s|\${PHP_VERSION}|${PHP_VERSION}|g" /etc/nginx/snippets/fastcgi-php" sed -i "s|\${PHP_VERSION}|${PHP_VERSION}|g" /etc/nginx/sites-available/default && \ sed -i "s|\${USER}|${USER}|g; s|\${PHP_VERSION}|${PHP_VERSION}|g" /etc/php/"${PHP_VERSION}"/fpm/pool.d/www.conf && \ grep -q "^include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf" /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf || \ - echo "include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf" >> /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf + echo "include=/etc/php/${PHP_VERSION}/fpm/pool.d/*.conf" >> /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf && \ + ln -sf /etc/nginx/snippets/fastcgi-php"${PHP_VERSION}".conf /etc/nginx/snippets/fastcgi-php8.4.conf # Set PHP-FPM socket permissions in the configuration RUN sed -i "s|^error_log =.*|error_log = /dev/stderr|" /etc/php/"${PHP_VERSION}"/fpm/php-fpm.conf && \