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

init the custom error config

This commit is contained in:
Aurelien Vaillant 2023-08-18 11:10:25 +02:00
parent 791d7880e9
commit 1eb8d54769

View file

@ -65,6 +65,8 @@ fi
# Add the custom error build with the application
ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf"
CUSTOM_ERROR_FILE=1
# Create a dedicated NGINX config
ynh_add_nginx_config
ynh_add_config --template="example-custom-nginx-config.conf" --destination="$nginx_extra_conf_dir/sample.conf"