Skip to content

Commit

Permalink
Docker - Increase the size of the allowed payloads.
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Oct 4, 2024
1 parent bc56803 commit 396cedf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions towerify/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ RUN echo "max_execution_time=15" > $PHP_INI_DIR/conf.d/max-execution-time.ini
# Memory Limit (default=128M)
RUN echo "memory_limit=1024M" > $PHP_INI_DIR/conf.d/max-limit.ini
# POST max size (default=8M)
RUN echo "post_max_size=8M" >> $PHP_INI_DIR/conf.d/max-limit.ini
RUN echo "post_max_size=50M" >> $PHP_INI_DIR/conf.d/max-limit.ini
# Upload max file size (default=2M)
RUN echo "upload_max_filesize=2M" >> $PHP_INI_DIR/conf.d/max-limit.ini
RUN echo "upload_max_filesize=50M" >> $PHP_INI_DIR/conf.d/max-limit.ini
# Set maximum length of log_errors (default=1024)
RUN echo "log_errors_max_len=16384" >> $PHP_INI_DIR/conf.d/max-limit.ini

Expand Down

0 comments on commit 396cedf

Please sign in to comment.