fix alias_traversal and change maintainer

This commit is contained in:
Jean-Baptiste Holcroft
2018-01-29 22:44:33 +01:00
parent 23645f9f33
commit 3b3cabbad4
5 changed files with 33 additions and 9 deletions

View File

@@ -100,6 +100,9 @@ then
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
ynh_store_file_checksum "$finalnginxconf"
else
# add rewrite for alias_traversal protection
ynh_replace_string "^#sub_path_only" "" "../conf/nginx.conf"
fi
#=================================================