Update fix alias_traversal

This commit is contained in:
Maniack Crudelis
2018-01-03 23:24:48 +01:00
parent 9824705dfb
commit 2d21ec6163
3 changed files with 9 additions and 1 deletions

View File

@@ -104,6 +104,10 @@ ynh_setup_source "$final_path"
#=================================================
# Create a dedicated nginx config
if [ "$path_url" != "/" ]
then
ynh_replace_string "^#sub_path_only" "" "../conf/nginx.conf"
fi
ynh_add_nginx_config
#=================================================