From c29903b39470b6d4f0736fcc34c156f6ebb936dc Mon Sep 17 00:00:00 2001 From: tradewind Date: Wed, 16 Nov 2022 15:21:20 +0800 Subject: [PATCH] #tradewind:update --- nginx/conf.d/example.conf | 2 +- php7.4/dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nginx/conf.d/example.conf b/nginx/conf.d/example.conf index a10358d..93c67e0 100644 --- a/nginx/conf.d/example.conf +++ b/nginx/conf.d/example.conf @@ -8,7 +8,7 @@ server { } location ~ \.php$ { - fastcgi_pass php7.4:9000; + fastcgi_pass php74:9000; fastcgi_index index.php; fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; diff --git a/php7.4/dockerfile b/php7.4/dockerfile index 4405908..5543b03 100644 --- a/php7.4/dockerfile +++ b/php7.4/dockerfile @@ -27,9 +27,11 @@ RUN apt-get update && apt-get install -y \ && pecl install \ redis \ xdebug \ + mongodb \ && docker-php-ext-enable \ redis \ xdebug \ + mongodb \ && apt-get clean \ && apt-get autoclean