1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

On/Off nginx file

This commit is contained in:
Aurelien Vaillant 2023-08-17 17:01:36 +02:00
parent 632567c13f
commit d025544131

View file

@ -153,8 +153,7 @@ ynh_app_config_apply() {
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"
else
# TODO
echo remove config file
ynh_secure_remove --file="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
fi
if [ "$phpversion" != "none" ]