File tree Expand file tree Collapse file tree
root/defaults/nginx/site-confs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ RUN \
6868 echo 'opcache.jit_buffer_size=128M' ; \
6969 } >> "/etc/php83/conf.d/00_opcache.ini" && \
7070 { \
71- echo 'memory_limit=512M ' ; \
72- echo 'upload_max_filesize=512M ' ; \
73- echo 'post_max_size=512M ' ; \
74- echo 'max_input_time=300 ' ; \
75- echo 'max_execution_time=300 ' ; \
71+ echo 'memory_limit=-1 ' ; \
72+ echo 'upload_max_filesize=100G ' ; \
73+ echo 'post_max_size=100G ' ; \
74+ echo 'max_input_time=3600 ' ; \
75+ echo 'max_execution_time=3600 ' ; \
7676 echo 'output_buffering=0' ; \
7777 echo 'always_populate_raw_post_data=-1' ; \
7878 } >> "/etc/php83/conf.d/nextcloud.ini" && \
Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ RUN \
6868 echo 'opcache.jit_buffer_size=128M'; \
6969 } >> "/etc/php83/conf.d/00_opcache.ini" && \
7070 { \
71- echo 'memory_limit=512M '; \
72- echo 'upload_max_filesize=512M '; \
73- echo 'post_max_size=512M '; \
74- echo 'max_input_time=300 '; \
75- echo 'max_execution_time=300 '; \
71+ echo 'memory_limit=-1 '; \
72+ echo 'upload_max_filesize=100G '; \
73+ echo 'post_max_size=100G '; \
74+ echo 'max_input_time=3600 '; \
75+ echo 'max_execution_time=3600 '; \
7676 echo 'output_buffering=0'; \
7777 echo 'always_populate_raw_post_data=-1'; \
7878 } >> "/etc/php83/conf.d/nextcloud.ini" && \
Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
319319
320320# # Versions
321321
322+ * **09.01.25:** - Fix uploading large files. Existing users should update their nginx confs.
322323* **24.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
323324* **06.03.24:** - Rebase to Alpine 3.19 with php 8.3.
324325* **02.01.24:** - Existing users should update: site-confs/default.conf - Cleanup default site conf.
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ init_diagram: |
114114 "nextcloud:develop" <- Base Images
115115# changelog
116116changelogs :
117+ - {date: "09.01.25:", desc: "Fix uploading large files. Existing users should update their nginx confs."}
117118 - {date: "24.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
118119 - {date: "06.03.24:", desc: "Rebase to Alpine 3.19 with php 8.3."}
119120 - {date: "02.01.24:", desc: "Existing users should update: site-confs/default.conf - Cleanup default site conf."}
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