Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ RUN apt-get update && apt-get install -y \
&& pecl install redis-3.1.1 imagick-3.4.3 libsodium-1.0.6 \
&& docker-php-ext-enable redis imagick libsodium \
&& docker-php-ext-install -j$(nproc) exif gettext intl mcrypt sockets zip

COPY php/conf.d/nginx.ini /usr/local/etc/php/conf.d/nginx.ini
7 changes: 7 additions & 0 deletions php/conf.d/nginx.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cgi.fix_pathinfo = 0

file_uploads = On
memory_limit = 32M
upload_max_filesize = 32M
post_max_size = 32M
max_execution_time = 600