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 \
72
72
echo 'opcache.jit_buffer_size=128M' ; \
73
73
} >> "/etc/php83/conf.d/00_opcache.ini" && \
74
74
{ \
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 ' ; \
80
80
echo 'output_buffering=0' ; \
81
81
echo 'always_populate_raw_post_data=-1' ; \
82
82
} >> "/etc/php83/conf.d/nextcloud.ini" && \
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ RUN \
72
72
echo 'opcache.jit_buffer_size=128M'; \
73
73
} >> "/etc/php83/conf.d/00_opcache.ini" && \
74
74
{ \
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 '; \
80
80
echo 'output_buffering=0'; \
81
81
echo 'always_populate_raw_post_data=-1'; \
82
82
} >> "/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
350
350
351
351
# # Versions
352
352
353
+ * **09.01.25:** - Fix uploading large files. Existing users should update their nginx confs.
353
354
* **09.07.24:** - Add `previous` tag for n-1 releases.
354
355
* **24.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
355
356
* **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: |
145
145
"nextcloud:latest" <- Base Images
146
146
# changelog
147
147
changelogs :
148
+ - {date: "09.01.25:", desc: "Fix uploading large files. Existing users should update their nginx confs."}
148
149
- {date: "09.07.24:", desc: "Add `previous` tag for n-1 releases."}
149
150
- {date: "24.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
150
151
- {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 {
25
25
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html#nextcloud-in-the-webroot-of-nginx
26
26
27
27
# set max upload size and increase upload timeout:
28
- client_max_body_size 512M ;
28
+ client_max_body_size 0 ;
29
29
client_body_timeout 300s;
30
30
fastcgi_buffers 64 4K;
31
31
You can’t perform that action at this time.
0 commit comments