diff --git a/Dockerfile b/Dockerfile index f33916c77..60d668f37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG BASE_TAG=php8.2-alpine +ARG BASE_TAG=php8.3-alpine # https://hub.docker.com/r/phpswoole/swoole FROM phpswoole/swoole:$BASE_TAG @@ -19,11 +19,12 @@ RUN set -ex \ jpeg-dev \ libpng-dev \ libjpeg-turbo \ + libzip-dev \ freetype-dev \ imagemagick-dev \ imagemagick && \ docker-php-ext-configure gd --with-freetype --with-jpeg && \ - docker-php-ext-install gd ctype pdo pdo_pgsql pcntl exif intl && \ + docker-php-ext-install gd ctype pdo pdo_pgsql pcntl exif zip intl && \ rm /var/cache/apk/* && rm -rf /tmp/pear diff --git a/config/nginx.conf b/config/nginx.conf index 41babf5c7..d4f70f205 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -12,7 +12,7 @@ http { default_type application/octet-stream; # Define custom log format to include reponse times - log_format main_timed '$remote_addr - $remote_user [$time_local] "$request" ' + log_format main_timed '[$request_id] [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for" ' '$request_time $upstream_response_time $pipe $upstream_cache_status';