File tree Expand file tree Collapse file tree 5 files changed +13
-11
lines changed
root/defaults/nginx/site-confs Expand file tree Collapse file tree 5 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ RUN \
7272 echo 'opcache.jit_buffer_size=128M' ; \
7373 } >> "/etc/php83/conf.d/00_opcache.ini" && \
7474 { \
75- echo 'memory_limit=512M ' ; \
76- echo 'upload_max_filesize=512M ' ; \
77- echo 'post_max_size=512M ' ; \
78- echo 'max_input_time=300 ' ; \
79- echo 'max_execution_time=300 ' ; \
75+ echo 'memory_limit=-1 ' ; \
76+ echo 'upload_max_filesize=100G ' ; \
77+ echo 'post_max_size=100G ' ; \
78+ echo 'max_input_time=3600 ' ; \
79+ echo 'max_execution_time=3600 ' ; \
8080 echo 'output_buffering=0' ; \
8181 echo 'always_populate_raw_post_data=-1' ; \
8282 } >> "/etc/php83/conf.d/nextcloud.ini" && \
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ RUN \
7272 echo 'opcache.jit_buffer_size=128M'; \
7373 } >> "/etc/php83/conf.d/00_opcache.ini" && \
7474 { \
75- echo 'memory_limit=512M '; \
76- echo 'upload_max_filesize=512M '; \
77- echo 'post_max_size=512M '; \
78- echo 'max_input_time=300 '; \
79- echo 'max_execution_time=300 '; \
75+ echo 'memory_limit=-1 '; \
76+ echo 'upload_max_filesize=100G '; \
77+ echo 'post_max_size=100G '; \
78+ echo 'max_input_time=3600 '; \
79+ echo 'max_execution_time=3600 '; \
8080 echo 'output_buffering=0'; \
8181 echo 'always_populate_raw_post_data=-1'; \
8282 } >> "/etc/php83/conf.d/nextcloud.ini" && \
Original file line number Diff line number Diff line change @@ -350,6 +350,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
350350
351351# # Versions
352352
353+ * **09.01.25:** - Fix uploading large files. Existing users should update their nginx confs.
353354* **09.07.24:** - Add `previous` tag for n-1 releases.
354355* **24.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
355356* **19.05.24:** - Added util-linux package required for taskset.
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ init_diagram: |
145145 "nextcloud:latest" <- Base Images
146146# changelog
147147changelogs :
148+ - {date: "09.01.25:", desc: "Fix uploading large files. Existing users should update their nginx confs."}
148149 - {date: "09.07.24:", desc: "Add `previous` tag for n-1 releases."}
149150 - {date: "24.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
150151 - {date: "19.05.24:", desc: "Added util-linux package required for taskset."}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ server {
2525 # https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx
2626
2727 # set max upload size and increase upload timeout:
28- client_max_body_size 512M ;
28+ client_max_body_size 0 ;
2929 client_body_timeout 300s;
3030 fastcgi_buffers 64 4K;
3131
You can’t perform that action at this time.
0 commit comments