You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-15 00:05:11 +02:00
Set client_max_body_size in default nginx config file
This commit is contained in:
@ -39,6 +39,9 @@ RUN apk add --no-cache \
|
|||||||
&& mkdir -p /var/www/rainloop \
|
&& mkdir -p /var/www/rainloop \
|
||||||
&& mkdir -p /config
|
&& mkdir -p /config
|
||||||
|
|
||||||
|
# set client_max_body_size to 0 so it can be overriden in rainloop
|
||||||
|
RUN sed -i -e 's/client_max_body_size 1m/client_max_body_size 0/' /etc/nginx/nginx.conf
|
||||||
|
|
||||||
# nginx / PHP config files
|
# nginx / PHP config files
|
||||||
COPY config/nginx-rainloop.conf /config/nginx-rainloop.conf
|
COPY config/nginx-rainloop.conf /config/nginx-rainloop.conf
|
||||||
COPY config/php-rainloop.conf /etc/php7/php-fpm.d/rainloop.conf
|
COPY config/php-rainloop.conf /etc/php7/php-fpm.d/rainloop.conf
|
||||||
|
Reference in New Issue
Block a user