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:
parent
791d7880e9
commit
1eb8d54769
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue