limit post requests to 1M

This commit is contained in:
Jonas Leder 2022-03-30 18:46:25 +02:00
parent 9b6c5d0fb8
commit 8131709a88

View file

@ -21,7 +21,9 @@ RUN composer install
# | Install Webserver
# |--------------------------------------------------------------------------
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest as production
ENV PHP_FILE_UPLOADS=Off
ENV PHP_FILE_UPLOADS=Off \
PHP_MAX_POST=1M
RUN apk update && \
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \