Remove ignored directives from php-fpm pool config

This commit is contained in:
Quentin McGaw (desktop) 2021-08-04 10:10:23 -04:00
parent c24f5b2708
commit 08af4ef670

View File

@ -54,6 +54,9 @@ RUN apt-get update && \
chown -R www-data /var/log/nginx /var/lib/nginx/
# PHP FPM configuration
# Remove ignored directives from php-fpm pool config
RUN sed -i '/user = www-data/d' /etc/php/7.3/fpm/pool.d/www.conf && \
sed -i '/group = www-data/d' /etc/php/7.3/fpm/pool.d/www.conf
# Pre-create files with the correct permissions
RUN mkdir /run/php && \
touch /var/log/php7.3-fpm.log && \