Merge branch 'master' into add_comments

This commit is contained in:
Maniack Crudelis
2018-06-29 19:38:36 +02:00
committed by GitHub
4 changed files with 15 additions and 2 deletions

View File

@@ -83,6 +83,11 @@ ynh_setup_source "$final_path"
# Create a dedicated nginx config
ynh_add_nginx_config
if [ "$path_url" != "/" ]
then
ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
fi
ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# UPGRADE DEPENDENCIES