Update Dockerfile

This commit is contained in:
Go Johansson (neku) 2023-01-01 11:30:02 +01:00
parent f7f02b9280
commit 8e96eafc0d
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
# Modify nginx values
RUN sed -i "s#XMAINDOMAINX#${DOMAIN}#g" /etc/nginx/sites-enabled/uguu.conf
RUN sed -i "s#XFILESDOMAINX#${FILE_DOMAIN}#g" /etc/nginx/sites-enabled/uguu.conf
RUN sed -i "s#client_max_body_size 128M#$client_max_body_size {MAX_SIZE}M#g" /etc/nginx/nginx.conf
RUN sed -i "s#client_max_body_size 128M#client_max_body_size ${MAX_SIZE}M#g" /etc/nginx/nginx.conf
# Modify php-fpm values
RUN sed -i "s#post_max_size = 8M#post_max_size = ${MAX_SIZE}M#g" /etc/php/8.1/fpm/php.ini