Skip to content

Commit 908ef96

Browse files
committed
nginx configuration bugfix
1 parent d26b5a9 commit 908ef96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/nginx/Dockerfile.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log \
6969
&& sed -i 's#__PHP_MAX_EXECUTION_TIME__#'"${PHP_MAX_EXECUTION_TIME}"'#g' /etc/nginx/sites-available/project.conf \
7070
&& sed -i 's#__PHP_UPLOAD_MAX_FILESIZE__#'"${PHP_UPLOAD_MAX_FILESIZE}"'#g' /etc/nginx/sites-available/project.conf \
7171
&& ln -s /etc/nginx/sites-available/project.conf /etc/nginx/sites-enabled/project.conf \
72+
&& rm -rf /etc/nginx/sites-enabled/default \
7273
&& echo "upstream php-upstream { server php:${PORT_PHP}; }" > /etc/nginx/conf.d/upstream.conf
7374

7475
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)