mirror of
https://github.com/siemens-mobile-hacks/siepatchwiki.git
synced 2026-11-25 23:57:17 +00:00
Increase upload file size
This commit is contained in:
parent
806b9193ca
commit
ba3bf97499
3 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ server {
|
|||
# use any of the following two
|
||||
real_ip_header CF-Connecting-IP;
|
||||
#real_ip_header X-Forwarded-For;
|
||||
client_max_body_size 100m;
|
||||
|
||||
error_page 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
|
|
@ -60,5 +61,6 @@ server {
|
|||
fastcgi_intercept_errors on;
|
||||
fastcgi_param SCRIPT_FILENAME /app/$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
client_max_body_size 100M;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,4 +10,5 @@ RUN set -ex \
|
|||
&& pecl install apcu \
|
||||
&& docker-php-ext-enable apcu \
|
||||
&& apk del .build-deps
|
||||
COPY upload_max_filesize.ini /usr/local/etc/php/conf.d/upload_max_filesize.ini
|
||||
CMD ["php-fpm"]
|
||||
|
|
|
|||
1
php-fpm/upload_max_filesize.ini
Normal file
1
php-fpm/upload_max_filesize.ini
Normal file
|
|
@ -0,0 +1 @@
|
|||
upload_max_filesize=100M
|
||||
Loading…
Add table
Reference in a new issue