Remove the default server config now this folder is included from nginx.conf

This commit is contained in:
Tim de Pater 2019-11-05 14:27:04 +01:00
parent 348b050138
commit 9d6c40aa5a
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723

View File

@ -9,6 +9,8 @@ RUN apk --no-cache add php7 php7-fpm php7-mysqli php7-json php7-openssl php7-cur
# Configure nginx
COPY config/nginx.conf /etc/nginx/nginx.conf
# Remove default server definition
RUN rm /etc/nginx/conf.d/default.conf
# Configure PHP-FPM
COPY config/fpm-pool.conf /etc/php7/php-fpm.d/www.conf