Commit 0e963d73 authored by Aleks's avatar Aleks
Browse files

Make sure to protect againt path traversal issues?

parent f3b2e3dd
......@@ -4,13 +4,15 @@ location __PATH__/ {
return 302 __PATH__/fr;
}
location __PATH__/nl {
alias __FINALPATH__;
rewrite ^__PATH__/nl$ __PATH__/nl/ permanent;
location __PATH__/nl/ {
alias __FINALPATH__/;
index index_nl.html;
}
location __PATH__/fr {
alias __FINALPATH__;
rewrite ^__PATH__/fr$ __PATH__/fr/ permanent;
location __PATH__/fr/ {
alias __FINALPATH__/;
index index_fr.html;
}
......@@ -23,7 +23,6 @@ domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH_URL
app=$YNH_APP_INSTANCE_NAME
app_user=$app
nginx_path=/etc/nginx/conf.d/$domain.d/$app.conf
#==================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment