Skip to content

Commit 9d6c40a

Browse files
committed
Remove the default server config now this folder is included from nginx.conf
1 parent 348b050 commit 9d6c40a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ RUN apk --no-cache add php7 php7-fpm php7-mysqli php7-json php7-openssl php7-cur
99

1010
# Configure nginx
1111
COPY config/nginx.conf /etc/nginx/nginx.conf
12+
# Remove default server definition
13+
RUN rm /etc/nginx/conf.d/default.conf
1214

1315
# Configure PHP-FPM
1416
COPY config/fpm-pool.conf /etc/php7/php-fpm.d/www.conf

0 commit comments

Comments
 (0)