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:
parent
632567c13f
commit
d025544131
1 changed files with 1 additions and 2 deletions
|
@ -153,8 +153,7 @@ ynh_app_config_apply() {
|
||||||
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"
|
||||||
else
|
else
|
||||||
# TODO
|
ynh_secure_remove --file="/etc/nginx/conf.d/$domain.d/$app.d/error-code.conf"
|
||||||
echo remove config file
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$phpversion" != "none" ]
|
if [ "$phpversion" != "none" ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue