mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Test config script
This commit is contained in:
parent
d51c90ffb9
commit
42a5b89393
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ ynh_app_config_apply() {
|
||||||
if [ "${changed[custom_error_file]}" == "true" ]
|
if [ "${changed[custom_error_file]}" == "true" ]
|
||||||
then
|
then
|
||||||
CUSTOM_ERROR_FILE=$custom_error_file
|
CUSTOM_ERROR_FILE=$custom_error_file
|
||||||
ynh_add_config --template="nginx-code-error.conf" --destination="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
|
# ynh_add_config --template="nginx-code-error.conf" --destination="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
|
||||||
|
ynh_secure_remove --file="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
|
||||||
else
|
else
|
||||||
ynh_secure_remove --file="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
|
ynh_secure_remove --file="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue