mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Disable update size
https://github.com/alexbelgium/hassio-addons/issues/1866
This commit is contained in:
@@ -39,20 +39,20 @@ RUN \
|
|||||||
\
|
\
|
||||||
# modify data limits file
|
# modify data limits file
|
||||||
sed -i \
|
sed -i \
|
||||||
-e '/upload_max_filesize/c upload_max_filesize=8192M' \
|
-e '/upload_max_filesize/c upload_max_filesize=0' \
|
||||||
-e '/post_max_size/c post_max_size=8192M' \
|
-e '/post_max_size/c post_max_size=0' \
|
||||||
-e '/max_execution_time/c max_execution_time=3600' \
|
-e '/max_execution_time/c max_execution_time=3600' \
|
||||||
/etc/php*/php.ini && \
|
/etc/php*/php.ini && \
|
||||||
\
|
\
|
||||||
sed -i \
|
sed -i \
|
||||||
-e '/upload_max_filesize/c upload_max_filesize=8192M' \
|
-e '/upload_max_filesize/c upload_max_filesize=0' \
|
||||||
-e '/post_max_size/c post_max_size=8192M' \
|
-e '/post_max_size/c post_max_size=0' \
|
||||||
-e '/max_execution_time/c max_execution_time=3600' \
|
-e '/max_execution_time/c max_execution_time=3600' \
|
||||||
/etc/php*/conf.d/nextcloud.ini && \
|
/etc/php*/conf.d/nextcloud.ini && \
|
||||||
\
|
\
|
||||||
# modify nginx limits file
|
# modify nginx limits file
|
||||||
sed -i \
|
sed -i \
|
||||||
-e '/client_max_body_size/c client_max_body_size 8192M;' \
|
-e '/client_max_body_size/c client_max_body_size 0;' \
|
||||||
-e '/post_max_size/c client_body_timeout 900s;' \
|
-e '/post_max_size/c client_body_timeout 900s;' \
|
||||||
/defaults/nginx/site-confs/default.conf.sample && \
|
/defaults/nginx/site-confs/default.conf.sample && \
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user