mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Update config with the conditional state in the custom error file section
This commit is contained in:
parent
9e6f1621b4
commit
8c3b1e2161
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ ynh_app_config_apply() {
|
|||
CUSTOM_ERROR_FILE=$custom_error_file
|
||||
nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d"
|
||||
|
||||
if [ "$custom_error_file" ]
|
||||
if [ $custom_error_file ]
|
||||
then
|
||||
ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue