mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Merge branch 'testing' into app_config_actions
This commit is contained in:
commit
4d4f1e862b
4 changed files with 9 additions and 2 deletions
|
@ -8,6 +8,7 @@ location __PATH__/ {
|
||||||
client_body_timeout 60m;
|
client_body_timeout 60m;
|
||||||
proxy_read_timeout 60m;
|
proxy_read_timeout 60m;
|
||||||
fastcgi_read_timeout 60m;
|
fastcgi_read_timeout 60m;
|
||||||
|
client_max_body_size 50M;
|
||||||
|
|
||||||
try_files $uri @__NAME__;
|
try_files $uri @__NAME__;
|
||||||
|
|
||||||
|
|
|
@ -390,3 +390,7 @@ catch_workers_output = yes
|
||||||
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||||
;php_admin_flag[log_errors] = on
|
;php_admin_flag[log_errors] = on
|
||||||
;php_admin_value[memory_limit] = 32M
|
;php_admin_value[memory_limit] = 32M
|
||||||
|
|
||||||
|
php_admin_value[max_execution_time] = 3600
|
||||||
|
php_admin_value[upload_max_filesize] = 50M
|
||||||
|
php_admin_value[post_max_size] = 50M
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
max_execution_time=3600
|
|
|
@ -122,9 +122,12 @@ download_images_enabled=$(ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user"
|
||||||
if [ "$download_images_enabled" = "1" ] ; then
|
if [ "$download_images_enabled" = "1" ] ; then
|
||||||
echo "Updating images URL; this operation may take a while..."
|
echo "Updating images URL; this operation may take a while..."
|
||||||
# Query/replace the domain/path in every entry.content in mysql database
|
# Query/replace the domain/path in every entry.content in mysql database
|
||||||
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user" <<< "UPDATE entry SET content = REPLACE(content, '$old_domain$old_path', '$new_domain$new_path');"
|
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user" <<< "UPDATE entry SET content = REPLACE(content, '$old_domain$old_path', '$new_domain$new_path');"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clear assets cache
|
||||||
|
ynh_secure_remove $final_path/var/cache
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue